diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-07-12 12:09:45 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-07-12 12:09:45 +0200 |
commit | ba02470a5dea69754f31d9816d7e76f2d6893d0b (patch) | |
tree | 591f81f8c936d9814b08659502e6f9bf054a239a /nx-X11/programs/Xserver/hw/nxagent/Window.c | |
parent | 000a869b3e994c6f5df62bdc6ee1bb4528403c9d (diff) | |
parent | 84a403e2724ae9acac77bd1d819a9b1f4e56379a (diff) | |
download | nx-libs-ba02470a5dea69754f31d9816d7e76f2d6893d0b.tar.gz nx-libs-ba02470a5dea69754f31d9816d7e76f2d6893d0b.tar.bz2 nx-libs-ba02470a5dea69754f31d9816d7e76f2d6893d0b.zip |
Merge branch 'sunweaver-pr/report-window-ids' into 3.6.x
Attributes GH PR #478: https://github.com/ArcticaProject/nx-libs/pull/478
Reviewed by Ulrich Sibiller <uli42@gmx.de> -- Mon, 10 Jul 2017 09:18:09 +0000 (UTC)
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Window.c')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Window.c | 14 |
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 |