From 2fd776888346797a085ca493d111fbac791cb461 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Tue, 7 May 2024 23:37:15 +0200 Subject: Window.c: Fix: Use correct type for XlibWindow These are filled by libX11 so the type must be the Xlib one. --- nx-X11/programs/Xserver/hw/nxagent/Window.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nx-X11/programs/Xserver') diff --git a/nx-X11/programs/Xserver/hw/nxagent/Window.c b/nx-X11/programs/Xserver/hw/nxagent/Window.c index c18ebde97..1efe491e3 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Window.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Window.c @@ -1401,9 +1401,9 @@ void nxagentConfigureWindow(WindowPtr pWin, unsigned int mask) #ifdef TEST { - Window root_return; - Window parent_return; - Window *children_return = NULL; + XlibWindow root_return; + XlibWindow parent_return; + XlibWindow *children_return = NULL; unsigned int nchildren_return; Status result = XQueryTree(nxagentDisplay, DefaultRootWindow(nxagentDisplay), -- cgit v1.2.3