(!1654) Xnest: fetch default colormap from xcb screen info
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
3e2a1c6d7f
commit
36f6eb3e2d
|
@ -389,8 +389,7 @@ xnestOpenScreen(ScreenPtr pScreen, int argc, char *argv[])
|
|||
|
||||
valuemask = XCB_CW_BACK_PIXMAP | XCB_CW_COLORMAP;
|
||||
attributes.background_pixmap = xnestScreenSaverPixmap;
|
||||
attributes.colormap =
|
||||
DefaultColormap(xnestDisplay, xnestUpstreamInfo.screenId);
|
||||
attributes.colormap = xnestUpstreamInfo.screenInfo->default_colormap;
|
||||
xnestScreenSaverWindows[pScreen->myNum] =
|
||||
XCreateWindow(xnestDisplay,
|
||||
xnestDefaultWindows[pScreen->myNum],
|
||||
|
|
Loading…
Reference in New Issue