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:
@ -242,7 +242,7 @@ const RunDialog = new Lang.Class({
|
||||
let symbol = e.get_key_symbol();
|
||||
if (symbol == Clutter.Return || symbol == Clutter.KP_Enter) {
|
||||
this.popModal();
|
||||
if (Shell.get_event_state(e) & Clutter.ModifierType.CONTROL_MASK)
|
||||
if (e.get_state() & Clutter.ModifierType.CONTROL_MASK)
|
||||
this._run(o.get_text(), true);
|
||||
else
|
||||
this._run(o.get_text(), false);
|
||||
|
Reference in New Issue
Block a user