Remove the shell_get_event_state() wrapper
The bug that this wrapper was working around has been fixed for quite some time: https://bugzilla.gnome.org/show_bug.cgi?id=650329.
This commit is contained in:
@ -572,7 +572,7 @@ function _globalKeyPressHandler(actor, event) {
|
||||
|
||||
let symbol = event.get_key_symbol();
|
||||
let keyCode = event.get_key_code();
|
||||
let modifierState = Shell.get_event_state(event);
|
||||
let modifierState = event.get_state();
|
||||
|
||||
// This relies on the fact that Clutter.ModifierType is the same as Gdk.ModifierType
|
||||
let action = global.display.get_keybinding_action(keyCode, modifierState);
|
||||
|
Reference in New Issue
Block a user