aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Window.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Window.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Window.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Window.c b/nx-X11/programs/Xserver/hw/nxagent/Window.c
index 8d2123095..4cefd3f16 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Window.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Window.c
@@ -116,6 +116,8 @@ extern WindowPtr nxagentViewportFrameBelow;
extern WindowPtr nxagentRootTileWindow;
+extern Bool nxagentReportPrivateWindowIds;
+
/*
* Also referenced in Events.c.
*/
@@ -433,8 +435,12 @@ FIXME: We need to set save under on the real display?
}
}
+ if (nxagentReportPrivateWindowIds)
+ {
+ fprintf (stderr, "NXAGENT_WINDOW_ID: PRIVATE_WINDOW,WID:[0x%x]\n", nxagentWindowPriv(pWin)->window);
+ }
#ifdef TEST
- fprintf(stderr, "nxagentCreateWindow: Created new window with id [%ld].\n",
+ fprintf(stderr, "nxagentCreateWindow: Created new window with id [0x%x].\n",
nxagentWindowPriv(pWin)->window);
#endif
@@ -3016,8 +3022,12 @@ FIXME: Do we need to set save unders attribute here?
mask,
&attributes);
+ if (nxagentReportPrivateWindowIds)
+ {
+ fprintf (stderr, "NXAGENT_WINDOW_ID: PRIVATE_WINDOW,WID:[0x%x]\n", nxagentWindowPriv(pWin)->window);
+ }
#ifdef TEST
- fprintf(stderr, "nxagentReconnectWindow: Created new window with id [%ld].\n",
+ fprintf(stderr, "nxagentReconnectWindow: Created new window with id [0x%x].\n",
nxagentWindowPriv(pWin)->window);
#endif