aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Screen.c5
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);