diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2017-05-25 23:20:50 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2019-08-27 14:10:16 +0200 |
commit | 03aa5d7430817fe74499102dbc05cfd4d533c068 (patch) | |
tree | 57e6914f4b1293f766a27a1c9149cd69752a89da /nx-X11/programs | |
parent | a4d7a04c45ceac0c33ddd7e32495db07906bdba0 (diff) | |
download | nx-libs-03aa5d7430817fe74499102dbc05cfd4d533c068.tar.gz nx-libs-03aa5d7430817fe74499102dbc05cfd4d533c068.tar.bz2 nx-libs-03aa5d7430817fe74499102dbc05cfd4d533c068.zip |
Events.c: Autograb only for windowed modes
This also make re-autograbbing after switch back from AllScreens work.
Diffstat (limited to 'nx-X11/programs')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Events.c | 3 |
1 files changed, 1 insertions, 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) { |