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
43e1cc6856
commit
2880d18bda
|
@ -258,9 +258,11 @@ xnestSetInstalledColormapWindows(ScreenPtr pScreen)
|
||||||
pScreen->defColormap, X11_RESTYPE_COLORMAP,
|
pScreen->defColormap, X11_RESTYPE_COLORMAP,
|
||||||
serverClient, DixUseAccess);
|
serverClient, DixUseAccess);
|
||||||
|
|
||||||
XSetWindowColormap(xnestDisplay,
|
uint32_t cmap = xnestColormap(pCmap);
|
||||||
xnestDefaultWindows[pScreen->myNum],
|
xcb_change_window_attributes(xnestUpstreamInfo.conn,
|
||||||
xnestColormap(pCmap));
|
xnestDefaultWindows[pScreen->myNum],
|
||||||
|
XCB_CW_COLORMAP,
|
||||||
|
&cmap);
|
||||||
}
|
}
|
||||||
#endif /* DUMB_WINDOW_MANAGERS */
|
#endif /* DUMB_WINDOW_MANAGERS */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue