[AppSwitcher] Allow use of arrow keys in the popup
https://bugzilla.gnome.org/show_bug.cgi?id=590563
This commit is contained in:
parent
97df305a6d
commit
c2af05f753
@ -154,8 +154,16 @@ AltTabPopup.prototype = {
|
|||||||
|
|
||||||
if (keysym == Clutter.Tab)
|
if (keysym == Clutter.Tab)
|
||||||
this._updateSelection(backwards ? -1 : 1);
|
this._updateSelection(backwards ? -1 : 1);
|
||||||
|
else if (keysym == Clutter.Left)
|
||||||
|
this._updateSelection(-1);
|
||||||
|
else if (keysym == Clutter.Right)
|
||||||
|
this._updateSelection(1);
|
||||||
else if (keysym == Clutter.grave)
|
else if (keysym == Clutter.grave)
|
||||||
this._updateWindowSelection(backwards ? -1 : 1);
|
this._updateWindowSelection(backwards ? -1 : 1);
|
||||||
|
else if (keysym == Clutter.Up)
|
||||||
|
this._updateWindowSelection(-1);
|
||||||
|
else if (keysym == Clutter.Down)
|
||||||
|
this._updateWindowSelection(1);
|
||||||
else if (keysym == Clutter.Escape)
|
else if (keysym == Clutter.Escape)
|
||||||
this.destroy();
|
this.destroy();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user