diff --git a/hw/xnest/Window.c b/hw/xnest/Window.c index 51e3e252a..a1b31ee4a 100644 --- a/hw/xnest/Window.c +++ b/hw/xnest/Window.c @@ -85,7 +85,7 @@ xnestCreateWindow(WindowPtr pWin) } else { mask = XCB_CW_EVENT_MASK | XCB_CW_BACKING_STORE; - attributes.event_mask = ExposureMask; + attributes.event_mask = XCB_EVENT_MASK_EXPOSURE; attributes.backing_store = XCB_BACKING_STORE_NOT_USEFUL; if (pWin->parent) {