aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Events.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-07-27 18:29:40 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-10-17 22:38:05 +0200
commit2d99cdd1cf5d8d0e8248d94bc07dca8ff32e4058 (patch)
treed73d06fd267eb90d707dd2106fcdffc17230074c /nx-X11/programs/Xserver/hw/nxagent/Events.c
parent4c6940cddb10c03127cf7775299e799960581e40 (diff)
downloadnx-libs-2d99cdd1cf5d8d0e8248d94bc07dca8ff32e4058.tar.gz
nx-libs-2d99cdd1cf5d8d0e8248d94bc07dca8ff32e4058.tar.bz2
nx-libs-2d99cdd1cf5d8d0e8248d94bc07dca8ff32e4058.zip
Events.c: More cosmetics
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Events.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Events.c16
1 files 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();