#include <X11/Xmu/WinUtil.h>Screen *XmuScreenOfWindow(dpy, w) Display *dpy; Window w;
Window XmuClientWindow(dpy, win) Display *dpy; Window win;
Bool XmuUpdateMapHints(dpy, w, hints) Display *dpy; Window w; XSizeHints *hints;
The XmuScreenOfWindow function returns the Screen on which the specified window was created.
The XmuClientWindow function finds a window, at or below the specified window, that has a WM_STATE property. If such a window is found, it is returned; otherwise the argument window is returned.
The XmuUpdateMapHints function clears the PPosition and PSize flags and sets the USPosition and USSize flags in the hints structure, then stores the hints for the window using XSetWMNormalHints and returns True. If NULL is passed for the hints structure, then the current hints are read back from the window using XGetWMNormalHints and are used instead, and True is returned; otherwise False is returned.