From 745668787d5687d40b96d0c4f40171879efac84b Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 8 Aug 2024 11:11:29 +0200 Subject: [PATCH] (!1654) 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 2a7426033..bc603a0c8 100644 --- a/hw/xnest/Window.c +++ b/hw/xnest/Window.c @@ -164,7 +164,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)