mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 03:22:04 +00:00
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
This commit is contained in:
parent
1c3d8defb5
commit
7738316dff
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user