(!1654) Xnest: replace XSetWindowColormap() by xcb_change_window_attributes()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
b64fce9391
commit
6e435c5de2
|
@ -255,9 +255,11 @@ xnestSetInstalledColormapWindows(ScreenPtr pScreen)
|
|||
pScreen->defColormap, X11_RESTYPE_COLORMAP,
|
||||
serverClient, DixUseAccess);
|
||||
|
||||
XSetWindowColormap(xnestDisplay,
|
||||
uint32_t cmap = xnestColormap(pCmap);
|
||||
xcb_change_window_attributes(xnestUpstreamInfo.conn,
|
||||
xnestDefaultWindows[pScreen->myNum],
|
||||
xnestColormap(pCmap));
|
||||
XCB_CW_COLORMAP,
|
||||
&cmap);
|
||||
}
|
||||
#endif /* DUMB_WINDOW_MANAGERS */
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue