mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
runDialog: use Shell.get_event_state(e), not e.get_state()
This commit is contained in:
parent
468f30e4ab
commit
5635797cb9
1 changed files with 1 additions and 1 deletions
|
|
@ -269,7 +269,7 @@ RunDialog.prototype = {
|
|||
return true;
|
||||
}
|
||||
if (symbol == Clutter.Return) {
|
||||
if (e.get_state() & Clutter.ModifierType.CONTROL_MASK)
|
||||
if (Shell.get_event_state(e) & Clutter.ModifierType.CONTROL_MASK)
|
||||
this._run(o.get_text(), true);
|
||||
else
|
||||
this._run(o.get_text(), false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue