[mutter] keybindings: Mark the "overlay" key as "no-auto-grab"



commit 7738316dffb780d14a6e034af96f873bd1794c05
Author: Olivier Fourdan <ofourdan redhat com>
Date:   Wed Jul 17 14:34:24 2019 +0200

    keybindings: Mark the "overlay" key as "no-auto-grab"
    
    Mark the keybinding for overlay as "no-auto-grab" to skip it in
    `change_binding_keygrabs()` so we don't automatically redo the grab.
    
    https://gitlab.gnome.org/GNOME/mutter/merge_requests/685

 src/core/keybindings.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/core/keybindings.c b/src/core/keybindings.c
index 2526d04a3..d943d2ff7 100644
--- a/src/core/keybindings.c
+++ b/src/core/keybindings.c
@@ -4456,7 +4456,7 @@ meta_display_init_keys (MetaDisplay *display)
 
   handler = g_new0 (MetaKeyHandler, 1);
   handler->name = g_strdup ("overlay-key");
-  handler->flags = META_KEY_BINDING_BUILTIN;
+  handler->flags = META_KEY_BINDING_BUILTIN | META_KEY_BINDING_NO_AUTO_GRAB;
 
   g_hash_table_insert (key_handlers, g_strdup (handler->name), handler);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]