Xnest: replace NotUseful by XCB_BACKING_STORE_NOT_USEFUL
Use xcb's defines instead of Xlib's ones. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
a65e44f91a
commit
3bcd8695eb
|
@ -249,8 +249,8 @@ xnestOpenScreen(ScreenPtr pScreen, int argc, char *argv[])
|
||||||
pScreen->defColormap = (Colormap) FakeClientID(0);
|
pScreen->defColormap = (Colormap) FakeClientID(0);
|
||||||
pScreen->minInstalledCmaps = MINCMAPS;
|
pScreen->minInstalledCmaps = MINCMAPS;
|
||||||
pScreen->maxInstalledCmaps = MAXCMAPS;
|
pScreen->maxInstalledCmaps = MAXCMAPS;
|
||||||
pScreen->backingStoreSupport = NotUseful;
|
pScreen->backingStoreSupport = XCB_BACKING_STORE_NOT_USEFUL;
|
||||||
pScreen->saveUnderSupport = NotUseful;
|
pScreen->saveUnderSupport = XCB_BACKING_STORE_NOT_USEFUL;
|
||||||
pScreen->whitePixel = xnestWhitePixel;
|
pScreen->whitePixel = xnestWhitePixel;
|
||||||
pScreen->blackPixel = xnestBlackPixel;
|
pScreen->blackPixel = xnestBlackPixel;
|
||||||
/* GCperDepth */
|
/* GCperDepth */
|
||||||
|
|
|
@ -85,7 +85,7 @@ xnestCreateWindow(WindowPtr pWin)
|
||||||
else {
|
else {
|
||||||
mask = XCB_CW_EVENT_MASK | XCB_CW_BACKING_STORE;
|
mask = XCB_CW_EVENT_MASK | XCB_CW_BACKING_STORE;
|
||||||
attributes.event_mask = ExposureMask;
|
attributes.event_mask = ExposureMask;
|
||||||
attributes.backing_store = NotUseful;
|
attributes.backing_store = XCB_BACKING_STORE_NOT_USEFUL;
|
||||||
|
|
||||||
if (pWin->parent) {
|
if (pWin->parent) {
|
||||||
if (pWin->optional &&
|
if (pWin->optional &&
|
||||||
|
|
Loading…
Reference in New Issue