diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2019-01-11 23:25:39 +0100 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2019-01-14 00:09:30 +0100 |
commit | 8dea30751d5917482527489ca292714a7874f42c (patch) | |
tree | 21a0e03520d4b7793bcab41a27dc57b42fac587d | |
parent | c4c39bc949549795c39ecbb24967256119c1f342 (diff) | |
download | nx-libs-8dea30751d5917482527489ca292714a7874f42c.tar.gz nx-libs-8dea30751d5917482527489ca292714a7874f42c.tar.bz2 nx-libs-8dea30751d5917482527489ca292714a7874f42c.zip |
Screen.c: move identical line out of both parts of an if clause
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Screen.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c index d8cf695a0..1af621570 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c @@ -1011,6 +1011,8 @@ Bool nxagentOpenScreen(ScreenPtr pScreen, resetAgentPosition = True; } + nxagentChangeOption(BorderWidth, 0); + if (nxagentOption(Fullscreen)) { nxagentChangeOption(X, 0); @@ -1019,7 +1021,6 @@ Bool nxagentOpenScreen(ScreenPtr pScreen, nxagentChangeOption(Width, WidthOfScreen(DefaultScreenOfDisplay(nxagentDisplay))); nxagentChangeOption(Height, HeightOfScreen(DefaultScreenOfDisplay(nxagentDisplay))); - nxagentChangeOption(BorderWidth, 0); if (nxagentReconnectTrap == False || nxagentResizeDesktopAtStartup) { @@ -1052,8 +1053,6 @@ Bool nxagentOpenScreen(ScreenPtr pScreen, } else { - nxagentChangeOption(BorderWidth, 0); - if (nxagentReconnectTrap == False) { nxagentChangeOption(RootX, 0); |