From 5cbd74a1788626b080918c2d83881c56d66081ea Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 12 Aug 2024 13:59:01 +0200 Subject: [PATCH] (!1654) xnest: replace ExposureMask by XCB_EVENT_MASK_EXPOSURE Use xcb's defines instead of Xlib's ones. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xnest/Window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {