XMDEACTIVATEWMPROTOCOL(3)

πŸ“¦
version 2.5.2 Β· 2 versions
, in alpine 3.24, arch rolling, centos-stream 9, epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

πŸ’– XmDeactivateWMProtocol πŸ’–

okay so bestie, welcome to the XmDeactivateWMProtocol page β€” it lives in the library call section of the manual, and it's genuinely one of the most low-key iconic little helpers in the whole Motif-adjacent toolkit. grab a strawberry πŸ“ and let's get into it.


✨ NAME ✨

XmDeactivateWMProtocol β€” a VendorShell convenience interface that deactivates a protocol without removing it. that's it, that's the whole vibe. she turns the lights off but the furniture is still there. no cap. πŸ’…


🌸 SYNOPSIS 🌸

#include <Xm/Xm.h>
#include <Xm/Protocols.h>
void XmDeactivateWMProtocol(
Widget shell,
Atom protocol);

πŸ¦‹ DESCRIPTION πŸ¦‹

so XmDeactivateWMProtocol is a convenience interface. what does that mean, you ask? it means she's the bestie who does the annoying part for you: she calls XmDeactivateProtocol with the property value set to the atom returned by interning WM_PROTOCOLS. like, she interns the atom, sets the property value, hands it over, slays, leaves. ✨

here are the two things you gotta give her:

  • shell β€” specifies the widget with which the protocol property is associated 🫢
  • protocol β€” specifies the protocol atom ⭐
for a complete definition of VendorShell and its associated resources, go read VendorShell(3). she's the main character, this page is just her understudy. πŸ’œ

the girlies in this friend group, fr fr:


that's the whole page, bestie β€” she's short, she's sweet, she deactivates without removing, and she did it all without breaking a sweat. πŸ’€πŸŽ€

this has been XmDeactivateWMProtocol(library call), brought to you by the library call section of the manual β€” yes, the footer said the same thing as the header, that's just her brand, iconic behavior only. πŸ‘‘πŸ’– bye pookie, go intern an atom πŸ¦‹