From d98eeec0225fd729cd4f0f18da8adfb1f4c496fa Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Mon, 10 Jun 2019 12:04:20 +0200 Subject: Screen.c: report both created windows (and with the right name) --- nx-X11/programs/Xserver/hw/nxagent/Screen.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c index ff6d9fd7e..6bbe25e4d 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c @@ -1776,6 +1776,11 @@ N/A nxagentDefaultVisual(pScreen), valuemask, &attributes); + if (nxagentReportWindowIds) + { + fprintf (stderr, "NXAGENT_WINDOW_ID: SCREEN_WINDOW:[%d],WID:[0x%x]\n", pScreen -> myNum, nxagentDefaultWindows[pScreen->myNum]); + } + if (nxagentOption(Rootless) == 0) { valuemask = CWEventMask; @@ -1791,12 +1796,12 @@ N/A 0, 0, InputOnly, nxagentDefaultVisual(pScreen), valuemask , &attributes); + if (nxagentReportWindowIds) + { + fprintf (stderr, "NXAGENT_WINDOW_ID: INPUT_WINDOW:[%d],WID:[0x%x]\n", pScreen -> myNum, nxagentInputWindows[pScreen->myNum]); + } } - if (nxagentReportWindowIds) - { - fprintf (stderr, "NXAGENT_WINDOW_ID: SCREEN_WINDOW:[%d],WID:[0x%x]\n", pScreen -> myNum, nxagentInputWindows[pScreen->myNum]); - } #ifdef TEST fprintf(stderr, "nxagentOpenScreen: Created new default window with id [0x%x].\n", nxagentDefaultWindows[pScreen->myNum]); -- cgit v1.2.3