aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2017-02-08 21:43:45 +0100
committerMihai Moldovan <ionic@ionic.de>2017-03-01 15:19:12 +0100
commitf22e873e6f141b98bfc57a5443c11a9d6b8645c3 (patch)
tree6a7791cce73ae4317ff449322e468a1533b5a479 /nx-X11/programs/Xserver/hw
parentbaf7a926716192cdaea7a52b76bb61decf5cda0d (diff)
downloadnx-libs-f22e873e6f141b98bfc57a5443c11a9d6b8645c3.tar.gz
nx-libs-f22e873e6f141b98bfc57a5443c11a9d6b8645c3.tar.bz2
nx-libs-f22e873e6f141b98bfc57a5443c11a9d6b8645c3.zip
Screen.c: clean up superfluous whitespace
Diffstat (limited to 'nx-X11/programs/Xserver/hw')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Screen.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
index 2f6381696..3039f4139 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
@@ -3812,7 +3812,7 @@ int nxagentAdjustRandRXinerama(ScreenPtr pScreen)
*/
if (number == 0) {
#ifdef DEBUG
- fprintf(stderr, "nxagentAdjustRandRXinerama: faking xinerama\n" );
+ fprintf(stderr, "nxagentAdjustRandRXinerama: faking xinerama\n");
#endif
number = 1;
@@ -3934,7 +3934,7 @@ int nxagentAdjustRandRXinerama(ScreenPtr pScreen)
output = pScrPriv->outputs[i];
}
#ifdef DEBUG
- fprintf(stderr, "nxagentAdjustRandRXinerama: adjusting output [%s]\n", pScrPriv->outputs[i]->name);
+ fprintf(stderr, "nxagentAdjustRandRXinerama: adjusting output [%s]\n", pScrPriv->outputs[i]->name);
#endif
RROutputSetCrtcs(output, &(pScrPriv->crtcs[i]), 1);
/* FIXME: Isn't there a function for setting this? */
@@ -3945,7 +3945,7 @@ int nxagentAdjustRandRXinerama(ScreenPtr pScreen)
RROutputSetPhysicalSize(output, 0, 0);
}
- for (i = 0; i < pScrPriv->numOutputs; i++ ) {
+ for (i = 0; i < pScrPriv->numOutputs; i++) {
Bool disable_output = FALSE;
RRModePtr mymode, prevmode;
int new_x, new_y;
@@ -4089,7 +4089,6 @@ int nxagentAdjustRandRXinerama(ScreenPtr pScreen)
/* throw away the mode if otherwise unused. We do not need it
anymore. We call FreeResource() to ensure the system will not
try to free it again on shutdown */
-
if (prevmode && prevmode->refcnt == 1) {
#ifdef DEBUG
fprintf(stderr, "nxagentAdjustRandRXinerama: destroying prevmode [%s]\n", prevmode->name);