A VendorShell convenience interface that allows preactions and postactions to be executed when a protocol message is received from the window manager
Format
#include <Xm/Xm.h> #include <Xm/Protocols.h> void XmSetWMProtocolHooks Widget shellAtom protocolXtCallbackProc prehookXtPointer pre_closureXtCallbackProc posthookXtPointer post_closure
DESCRIPTION
XmSetWMProtocolHooks is a convenience interface. It calls XmSetProtocolHooks with the property value set to the atom returned by interning WM_PROTOCOLS.
For a complete definition of VendorShell and its associated resources, see VendorShell (3).
RELATED
VendorShell (3), XmInternAtom (3), and XmSetProtocolHooks (3).