X Version 11 (Release 6.1)

XmuScreenOfWindow(X3xmu)


XmuScreenOfWindow -- returns screen of specified window

Synopsis

cc . . . -lXmu

#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;

Arguments


dpy
Specifies the connection to the X server.

hints
Specifies the new hints, or NULL.

w
Specifies the window.

win
Specifies the window.

Description

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.

References

Xlib - C Language X Interface


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004