From c2af05f753bd697fe75eebded16f10a7652531f6 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 23 Sep 2009 12:27:23 -0400 Subject: [PATCH] [AppSwitcher] Allow use of arrow keys in the popup https://bugzilla.gnome.org/show_bug.cgi?id=590563 --- js/ui/altTab.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/js/ui/altTab.js b/js/ui/altTab.js index 139834029..c5a0a2ad1 100644 --- a/js/ui/altTab.js +++ b/js/ui/altTab.js @@ -154,8 +154,16 @@ AltTabPopup.prototype = { if (keysym == Clutter.Tab) 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) 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) this.destroy();