[X2Go-Commits] [nx-libs] 37/429: Screen.c: scope improvement

git-admin at x2go.org git-admin at x2go.org
Mon Oct 18 09:36:02 CEST 2021


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 ed4cbaeda12e0d8324c406ae3986274227f5f69f
Author: Ulrich Sibiller <uli42 at gmx.de>
Date:   Tue May 26 00:08:03 2020 +0200

    Screen.c: scope improvement
---
 nx-X11/programs/Xserver/hw/nxagent/Screen.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
index dbe1d5d56..909a34b2d 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
@@ -846,7 +846,6 @@ Bool nxagentOpenScreen(ScreenPtr pScreen,
   int depthIndex;
   unsigned long valuemask;
   XSetWindowAttributes attributes;
-  XWindowAttributes gattributes;
   Mask mask;
   Bool resetAgentPosition = False;
 
@@ -1424,6 +1423,8 @@ N/A
        * and a GetGeometry (asynchronous) reply.
        */
 
+      XWindowAttributes gattributes;
+
       XGetWindowAttributes(nxagentDisplay, nxagentParentWindow, &gattributes);
 
       nxagentChangeOption(Width, gattributes.width);

--
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