Xnest: replace XDestroyWindow() by xnest_destroy_window()

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-08-08 11:11:29 +02:00
parent 91371e3233
commit d3d0ffe0cf

View File

@ -160,7 +160,7 @@ xnestDestroyWindow(WindowPtr pWin)
xnestWindowPriv(pWin)->sibling_above; xnestWindowPriv(pWin)->sibling_above;
RegionDestroy(xnestWindowPriv(pWin)->bounding_shape); RegionDestroy(xnestWindowPriv(pWin)->bounding_shape);
RegionDestroy(xnestWindowPriv(pWin)->clip_shape); RegionDestroy(xnestWindowPriv(pWin)->clip_shape);
XDestroyWindow(xnestDisplay, xnestWindow(pWin)); xcb_destroy_window(xnestUpstreamInfo.conn, xnestWindow(pWin));
xnestWindowPriv(pWin)->window = XCB_WINDOW_NONE; xnestWindowPriv(pWin)->window = XCB_WINDOW_NONE;
if (pWin->optional && pWin->optional->colormap && pWin->parent) if (pWin->optional && pWin->optional->colormap && pWin->parent)