diff options
-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) { |