1XSetWMColormapWindows(3)        XLIB FUNCTIONS        XSetWMColormapWindows(3)
2
3
4

NAME

6       XSetWMColormapWindows,  XGetWMColormapWindows  - set or read a window's
7       WM_COLORMAP_WINDOWS property
8

SYNTAX

10       Status XSetWMColormapWindows(Display *display, Window w,  Window  *col‐
11              ormap_windows, int count);
12
13       Status  XGetWMColormapWindows(Display *display, Window w, Window **col‐
14              ormap_windows_return, int *count_return);
15

ARGUMENTS

17       display   Specifies the connection to the X server.
18
19       colormap_windows
20                 Specifies the list of windows.
21
22       colormap_windows_return
23                 Returns the list of windows.
24
25       count     Specifies the number of windows in the list.
26
27       count_return
28                 Returns the number of windows in the list.
29
30       w         Specifies the window.
31

DESCRIPTION

33       The XSetWMColormapWindows  function  replaces  the  WM_COLORMAP_WINDOWS
34       property  on the specified window with the list of windows specified by
35       the colormap_windows argument.  It the property does not already exist,
36       XSetWMColormapWindows  sets  the  WM_COLORMAP_WINDOWS  property  on the
37       specified window to the list of windows specified by the  colormap_win‐
38       dows argument.  The property is stored with a type of WINDOW and a for‐
39       mat of 32.  If it cannot intern the WM_COLORMAP_WINDOWS  atom,  XSetWM‐
40       ColormapWindows returns a zero status.  Otherwise, it returns a nonzero
41       status.
42
43       XSetWMColormapWindows can generate BadAlloc and BadWindow errors.
44
45       The XGetWMColormapWindows function returns the list of  window  identi‐
46       fiers  stored in the WM_COLORMAP_WINDOWS property on the specified win‐
47       dow.  These identifiers indicate the colormaps that the window  manager
48       may  need  to  install  for this window.  If the property exists, is of
49       type WINDOW, is of format 32, and the atom WM_COLORMAP_WINDOWS  can  be
50       interned,  XGetWMColormapWindows  sets the windows_return argument to a
51       list of window identifiers, sets the count_return argument to the  num‐
52       ber  of elements in the list, and returns a nonzero status.  Otherwise,
53       it sets neither of the return arguments and returns a zero status.   To
54       release the list of window identifiers, use XFree.
55
56       XGetWMColormapWindows can generate a BadWindow error.
57

PROPERTIES

59       WM_COLORMAP_WINDOWS
60                 The  list  of  window  IDs that may need a different colormap
61                 from that of their top-level window.
62

DIAGNOSTICS

64       BadAlloc  The server failed  to  allocate  the  requested  resource  or
65                 server memory.
66
67       BadWindow A value for a Window argument does not name a defined Window.
68

SEE ALSO

70       XAllocClassHint(3),    XAllocIconSize(3),    XAllocSizeHints(3),   XAl‐
71       locWMHints(3), XFree(3), XSetCommand(3), XSetTransientForHint(3), XSet‐
72       TextProperty(3),   XSetWMClientMachine(3),  XSetWMIconName(3),  XSetWM‐
73       Name(3),   XSetWMProperties(3),   XSetWMProtocols(3),    XStringListTo‐
74       TextProperty(3)
75       Xlib - C Language X Interface
76
77
78
79X Version 11                     libX11 1.6.9         XSetWMColormapWindows(3)
Impressum