F.12 CloseDisplay Hook Functions

XmuAddCloseDisplayHook adds a function that will be called with the given arguments when XCloseDisplay() is called. XmuRemoveCloseDisplayHook deletes the function that has been added with XmuAddCloseDisplayHook. More than one such function can be added.

XmuLookupCloseDisplayHook determines if a function is installed.

These functions use the Display Queue Functions internally, which are described next.

Get XLIB Programming Manual, Rel. 5, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.