XSetWMColormapWindows()XSetWMColormapWindows()NameXSetWMColormapWindows – 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.
DescriptionXSetWMColormapWindows() sets the XA_WM_COLORMAP_WINDOWS property on the
specified window to the list of windows specified by the colormap_win‐
dows argument. The property is stored with a type of WINDOW and a for‐
mat 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 applica‐
tion need to have their own colormaps installed.
For more information, see Volume One, Chapter 12, Interclient Communi‐
cation.
Errors
BadAlloc
BadWindow
See AlsoXGetWMColormapWindows().
Xlib - Window Manager Hints XSetWMColormapWindows()