[X2Go-Commits] [nx-libs] 211/219: Events.c: Autograb only for windowed modes
git-admin at x2go.org
git-admin at x2go.org
Sat Sep 28 12:11:08 CEST 2019
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 03aa5d7430817fe74499102dbc05cfd4d533c068
Author: Ulrich Sibiller <uli42 at gmx.de>
Date: Thu May 25 23:20:50 2017 +0200
Events.c: Autograb only for windowed modes
This also make re-autograbbing after switch back from AllScreens work.
---
nx-X11/programs/Xserver/hw/nxagent/Events.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Events.c b/nx-X11/programs/Xserver/hw/nxagent/Events.c
index 76a324fdb..d62bb6866 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Events.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Events.c
@@ -1597,8 +1597,7 @@ FIXME: Don't enqueue the KeyRelease event if the key was
}
}
- /* FIXME: only when in windowed mode! */
- if (nxagentOption(AutoGrab))
+ if (nxagentOption(AutoGrab) && !(nxagentOption(AllScreens) || nxagentOption(Fullscreen) || nxagentOption(Rootless)))
{
if (X.xfocus.window == nxagentDefaultWindows[0] && X.xfocus.mode == NotifyNormal)
{
--
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