diff --git a/hw/xnest/Screen.c b/hw/xnest/Screen.c index 958fa0ac5..698b68259 100644 --- a/hw/xnest/Screen.c +++ b/hw/xnest/Screen.c @@ -251,8 +251,8 @@ xnestOpenScreen(ScreenPtr pScreen, int argc, char *argv[]) pScreen->defColormap = (Colormap) FakeClientID(0); pScreen->minInstalledCmaps = MINCMAPS; pScreen->maxInstalledCmaps = MAXCMAPS; - pScreen->backingStoreSupport = NotUseful; - pScreen->saveUnderSupport = NotUseful; + pScreen->backingStoreSupport = XCB_BACKING_STORE_NOT_USEFUL; + pScreen->saveUnderSupport = XCB_BACKING_STORE_NOT_USEFUL; pScreen->whitePixel = xnestWhitePixel; pScreen->blackPixel = xnestBlackPixel; /* GCperDepth */ diff --git a/hw/xnest/Window.c b/hw/xnest/Window.c index 65990d0f5..0d5f82c8b 100644 --- a/hw/xnest/Window.c +++ b/hw/xnest/Window.c @@ -87,7 +87,7 @@ xnestCreateWindow(WindowPtr pWin) else { mask = XCB_CW_EVENT_MASK | XCB_CW_BACKING_STORE; attributes.event_mask = ExposureMask; - attributes.backing_store = NotUseful; + attributes.backing_store = XCB_BACKING_STORE_NOT_USEFUL; if (pWin->parent) { if (pWin->optional &&