From a346e1998e3bcd801991975d72da1e93cecd398f Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 12 Aug 2024 14:15:04 +0200 Subject: [PATCH] (!1654) Xnest: use XCB_BACK_PIXMAP_* defines Use xcb's defines instead of Xlib's ones. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xnest/Window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/xnest/Window.c b/hw/xnest/Window.c index 3ba434f8b..0842069cc 100644 --- a/hw/xnest/Window.c +++ b/hw/xnest/Window.c @@ -269,11 +269,11 @@ xnestChangeWindowAttributes(WindowPtr pWin, unsigned long mask) if (mask & XCB_CW_BACK_PIXMAP) switch (pWin->backgroundState) { - case None: + case XCB_BACK_PIXMAP_NONE: attributes.background_pixmap = None; break; - case ParentRelative: + case XCB_BACK_PIXMAP_PARENT_RELATIVE: attributes.background_pixmap = ParentRelative; break;