To use the functions defined in this section, you should include the header
file
<X11/Xmu/WinUtil.h
>
.
To use XmuClientWindow
, you may link against either the
libXmu or libXmuu libraries. The other functions in this section require
linking against the libXmu library.
Screen *XmuScreenOfWindow(Display *dpy, Window w);
Screen *XmuScreenOfWindow(Display *dpy, Window w);
| specifies the connection to the X server |
| specifies the window |
This function returns the Screen on which the specified window was created.
Window XmuClientWindow(Display *dpy, Window win);
Window XmuClientWindow(Display *dpy, Window win);
| specifies the connection to the X server |
| specifies the window |
This function finds a window, at or below the specified window, which has a WM_STATE property. If such a window is found, it is returned, otherwise the argument window is returned.
Bool XmuUpdateMapHints(Display *dpy, Window w, XSizeHints *hints);
Bool XmuUpdateMapHints(Display *dpy, Window w, XSizeHints *hints);
| specifies the connection to the X server |
| specifies the window |
| specifies the new hints, or NULL |
This function clears the
PPosition
and
PSize
flags and sets the
USPosition
and
USSize
flags in the hints structure, and 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.