[X2Go-Commits] [nx-libs] 43/219: Screen.c: report both created windows (and with the right name)

git-admin at x2go.org git-admin at x2go.org
Sat Sep 28 12:10:19 CEST 2019


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x
in repository nx-libs.

commit d98eeec0225fd729cd4f0f18da8adfb1f4c496fa
Author: Ulrich Sibiller <uli42 at gmx.de>
Date:   Mon Jun 10 12:04:20 2019 +0200

    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]);

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list