From d3d0ffe0cf210a9e53011842254a53ecda3b465b Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 8 Aug 2024 11:11:29 +0200 Subject: [PATCH] Xnest: replace XDestroyWindow() by xnest_destroy_window() 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 89d96a7bc..5dde96aaa 100644 --- a/hw/xnest/Window.c +++ b/hw/xnest/Window.c @@ -160,7 +160,7 @@ xnestDestroyWindow(WindowPtr pWin) xnestWindowPriv(pWin)->sibling_above; RegionDestroy(xnestWindowPriv(pWin)->bounding_shape); RegionDestroy(xnestWindowPriv(pWin)->clip_shape); - XDestroyWindow(xnestDisplay, xnestWindow(pWin)); + xcb_destroy_window(xnestUpstreamInfo.conn, xnestWindow(pWin)); xnestWindowPriv(pWin)->window = XCB_WINDOW_NONE; if (pWin->optional && pWin->optional->colormap && pWin->parent)