diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2019-08-09 11:24:01 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2019-08-09 11:36:45 +0200 |
commit | 08c6b801d238e4b99cf74c65a4a1eada74a39581 (patch) | |
tree | 80836fc70e3337dd5ef4b2f37203de2a9d5ceb8b | |
parent | 80c8a287ee7e6803c7b0fbf32caa96d79eb244bc (diff) | |
download | mutter-08c6b801d238e4b99cf74c65a4a1eada74a39581.tar.gz |
core: Exit early on keybindings if this is a wayland compositor
Fixes a thinko in commit 79b5ece2. It is meant to bail out early
on issuing X11 passive grabs if the compositor is a wayland one,
but this condition was inverted.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/721
-rw-r--r-- | src/core/keybindings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/keybindings.c b/src/core/keybindings.c index c707cb824..d2599adf4 100644 --- a/src/core/keybindings.c +++ b/src/core/keybindings.c @@ -1570,7 +1570,7 @@ meta_window_grab_keys (MetaWindow *window) MetaDisplay *display = window->display; MetaKeyBindingManager *keys = &display->key_binding_manager; - if (!meta_is_wayland_compositor ()) + if (meta_is_wayland_compositor ()) return; if (window->all_keys_grabbed) return; |