aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Events.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Events.c b/nx-X11/programs/Xserver/hw/nxagent/Events.c
index dee8dd7e0..0eca8e491 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Events.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Events.c
@@ -2041,6 +2041,18 @@ FIXME: Don't enqueue the KeyRelease event if the key was
nxagentVisibilityTimeout = GetTimeInMillis() + 2000;
}
+ /*
+ * without window manager there will be no ConfigureNotify
+ * event that would trigger xinerama updates. So we do that once
+ * the nxagent window gets mapped.
+ */
+ if (nxagentWMIsRunning == 0 &&
+ X.xmap.window == nxagentDefaultWindows[nxagentScreen(X.xmap.window)->myNum])
+ {
+ nxagentChangeScreenConfig(nxagentScreen(X.xmap.window)->myNum, nxagentOption(Width),
+ nxagentOption(Height));
+ }
+
break;
}
case MappingNotify: