mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 12:25:07 +00:00
Xnest: replace XSetWindowColormap() by xcb_change_window_attributes()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -258,9 +258,11 @@ xnestSetInstalledColormapWindows(ScreenPtr pScreen)
|
||||
pScreen->defColormap, X11_RESTYPE_COLORMAP,
|
||||
serverClient, DixUseAccess);
|
||||
|
||||
XSetWindowColormap(xnestDisplay,
|
||||
xnestDefaultWindows[pScreen->myNum],
|
||||
xnestColormap(pCmap));
|
||||
uint32_t cmap = xnestColormap(pCmap);
|
||||
xcb_change_window_attributes(xnestUpstreamInfo.conn,
|
||||
xnestDefaultWindows[pScreen->myNum],
|
||||
XCB_CW_COLORMAP,
|
||||
&cmap);
|
||||
}
|
||||
#endif /* DUMB_WINDOW_MANAGERS */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user