XSetWMColormapWindows() XSetWMColormapWindows()
Name
XSetWMColormapWindows - set a window's XA_WM_COLORMAP_WINDOWS property.
Synopsis
Status XSetWMColormapWindows(display, w, colormap_windows, count)
Display *display;
Window w;
Window *colormap_windows;
int count;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
w Specifies the window.
colormap_windows
Specifies the list of windows.
count Specifies the number of windows in the list.
Returns
Zero on failure, non-zero on success.
Availability
Release 4 and later.
Description
XSetWMColormapWindows() sets the XA_WM_COLORMAP_WINDOWS property on the specified window to the list of windows specified by the col-
ormap_windows argument. The property is stored with a type of WINDOW and a format of 32. If it cannot intern the XA_WM_COLORMAP_WINDOWS
atom, XSetWMColormapWindows() returns a zero status. Otherwise, it returns a non-zero status.
This property tells the window manager that subwindows of this application need to have their own colormaps installed.
For more information, see Volume One, Chapter 12, Interclient Communication.
Errors
BadAlloc
BadWindow
See Also
XGetWMColormapWindows().
Xlib - Window Manager Hints XSetWMColormapWindows()