[X2Go-Commits] [nx-libs] 20/23: Update Xinerama on XMapEvent
git-admin at x2go.org
git-admin at x2go.org
Sat Jun 16 15:30:49 CEST 2018
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch 3.6.x
in repository nx-libs.
commit 3f6d8f3e8faca7dc060a9be51dbb9b76d2bdb9a5
Author: Ulrich Sibiller <uli42 at gmx.de>
Date: Thu May 17 23:13:38 2018 +0200
Update Xinerama on XMapEvent
Fixes ArcticaProject/nx-libs#694
---
nx-X11/programs/Xserver/hw/nxagent/Events.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Events.c b/nx-X11/programs/Xserver/hw/nxagent/Events.c
index dee8dd7..0eca8e4 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:
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
More information about the x2go-commits
mailing list