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:
@ -1140,7 +1140,7 @@ const LookingGlass = new Lang.Class({
|
||||
// Handle key events which are relevant for all tabs of the LookingGlass
|
||||
_globalKeyPressEvent : function(actor, event) {
|
||||
let symbol = event.get_key_symbol();
|
||||
let modifierState = Shell.get_event_state(event);
|
||||
let modifierState = event.get_state();
|
||||
if (symbol == Clutter.Escape) {
|
||||
if (this._objInspector.actor.visible) {
|
||||
this._objInspector.close();
|
||||
|
Reference in New Issue
Block a user