1
0
mirror of https://github.com/brl/mutter.git synced 2025-04-11 12:49:38 +00:00

keybindings: Apply the same fix for keycodes to the GrabAccelerator API

This commit is contained in:
Jasper St. Pierre 2015-01-06 18:43:12 -08:00
parent 3ff8b0051d
commit a3b8dcbd04

@ -1423,6 +1423,8 @@ meta_display_grab_accelerator (MetaDisplay *display,
} }
devirtualize_modifiers (keys, modifiers, &mask); devirtualize_modifiers (keys, modifiers, &mask);
if (keysym != 0)
keycode = get_first_keycode_for_keysym (keys, keysym); keycode = get_first_keycode_for_keysym (keys, keysym);
if (keycode == 0) if (keycode == 0)