[X2Go-Commits] [nx-libs] 45/429: Events.c: More cosmetics

git-admin at x2go.org git-admin at x2go.org
Mon Oct 18 09:36:04 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 2d99cdd1cf5d8d0e8248d94bc07dca8ff32e4058
Author: Ulrich Sibiller <uli42 at gmx.de>
Date:   Mon Jul 27 18:29:40 2020 +0200

    Events.c: More cosmetics
---
 nx-X11/programs/Xserver/hw/nxagent/Events.c | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/nx-X11/programs/Xserver/hw/nxagent/Events.c b/nx-X11/programs/Xserver/hw/nxagent/Events.c
index 172715987..4d9d32bb2 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Events.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Events.c
@@ -3402,9 +3402,9 @@ int nxagentHandleConfigureNotify(XEvent* X)
         /* FIXME: Comment makes no sense */
         if (nxagentOption(Shadow) == 1 ||
                 (nxagentOption(Width) == nxagentOption(RootWidth) &&
-		 nxagentOption(Height) == nxagentOption(RootHeight) &&
-		 nxagentOption(X) == nxagentOption(RootX) &&
-		 nxagentOption(Y) == nxagentOption(RootY)))
+                 nxagentOption(Height) == nxagentOption(RootHeight) &&
+                 nxagentOption(X) == nxagentOption(RootX) &&
+                 nxagentOption(Y) == nxagentOption(RootY)))
         {
           doRandR = False;
         }
@@ -4382,11 +4382,13 @@ int nxagentHandleRRScreenChangeNotify(XEvent *X)
   fprintf(stderr, "%s: Called.\n", __func__);
   #endif
 
-  nxagentResizeScreen(screenInfo.screens[DefaultScreen(nxagentDisplay)], Xr -> width, Xr -> height,
-                          Xr -> mwidth, Xr -> mheight, True);
+  nxagentResizeScreen(screenInfo.screens[DefaultScreen(nxagentDisplay)],
+                          Xr -> width, Xr -> height,
+                              Xr -> mwidth, Xr -> mheight, True);
 
-  nxagentShadowCreateMainWindow(screenInfo.screens[DefaultScreen(nxagentDisplay)], screenInfo.screens[0]->root,
-                                Xr -> width, Xr -> height);
+  nxagentShadowCreateMainWindow(screenInfo.screens[DefaultScreen(nxagentDisplay)],
+                                    screenInfo.screens[0]->root,
+                                        Xr -> width, Xr -> height);
 
   nxagentShadowSetWindowsSize();
 

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