aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-06-10 12:04:20 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-06-11 12:04:47 +0200
commitd98eeec0225fd729cd4f0f18da8adfb1f4c496fa (patch)
tree0e0425c6998c2d828afdd9270beb7bab1ee28d5e /nx-X11/programs/Xserver
parent61255ac1ae0fa438b04d91aead68424df0360bd2 (diff)
downloadnx-libs-d98eeec0225fd729cd4f0f18da8adfb1f4c496fa.tar.gz
nx-libs-d98eeec0225fd729cd4f0f18da8adfb1f4c496fa.tar.bz2
nx-libs-d98eeec0225fd729cd4f0f18da8adfb1f4c496fa.zip
Screen.c: report both created windows (and with the right name)
Diffstat (limited to 'nx-X11/programs/Xserver')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Screen.c13
1 files 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]);