mirror of
https://github.com/brl/mutter.git
synced 2025-04-07 02:43:47 +00:00
keybindings: Apply the same fix for keycodes to the GrabAccelerator API
This commit is contained in:
parent
3ff8b0051d
commit
a3b8dcbd04
@ -1423,7 +1423,9 @@ meta_display_grab_accelerator (MetaDisplay *display,
|
|||||||
}
|
}
|
||||||
|
|
||||||
devirtualize_modifiers (keys, modifiers, &mask);
|
devirtualize_modifiers (keys, modifiers, &mask);
|
||||||
keycode = get_first_keycode_for_keysym (keys, keysym);
|
|
||||||
|
if (keysym != 0)
|
||||||
|
keycode = get_first_keycode_for_keysym (keys, keysym);
|
||||||
|
|
||||||
if (keycode == 0)
|
if (keycode == 0)
|
||||||
return META_KEYBINDING_ACTION_NONE;
|
return META_KEYBINDING_ACTION_NONE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user