mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
switcherPopup: Add a return value to _keyPressHandler
This allows us to handle keybindings that use Escape instead of just dismissing the popup unconditionally when we see an Escape press. https://bugzilla.gnome.org/show_bug.cgi?id=730739
This commit is contained in:
parent
625f3a5113
commit
dd85670f8b
4 changed files with 21 additions and 2 deletions
|
|
@ -165,6 +165,10 @@ const CtrlAltTabPopup = new Lang.Class({
|
|||
this._select(this._previous());
|
||||
else if (keysym == Clutter.Right)
|
||||
this._select(this._next());
|
||||
else
|
||||
return Clutter.EVENT_PROPAGATE;
|
||||
|
||||
return Clutter.EVENT_STOP;
|
||||
},
|
||||
|
||||
_finish : function(time) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue