[gnome-shell] altTab: Fix WindowSwitcherPopup



commit 93c5e6d97e3fcaeb75e739a5bd741b8133a96ccb
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Aug 18 13:31:31 2014 -0400

    altTab: Fix WindowSwitcherPopup
    
    The "backwards" parameter needs to be dropped here as well.

 js/ui/altTab.js        |    4 ++--
 js/ui/switcherPopup.js |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/altTab.js b/js/ui/altTab.js
index c734dea..efbb238 100644
--- a/js/ui/altTab.js
+++ b/js/ui/altTab.js
@@ -400,9 +400,9 @@ const WindowSwitcherPopup = new Lang.Class({
             this._select(1);
     },
 
-    _keyPressHandler: function(keysym, backwards, action) {
+    _keyPressHandler: function(keysym, action) {
         if (action == Meta.KeyBindingAction.SWITCH_WINDOWS) {
-            this._select(backwards ? this._previous() : this._next());
+            this._select(this._next());
         } else if (action == Meta.KeyBindingAction.SWITCH_WINDOWS_BACKWARD) {
             this._select(this._previous());
         } else {
diff --git a/js/ui/switcherPopup.js b/js/ui/switcherPopup.js
index 2d4ec2a..ccb774d 100644
--- a/js/ui/switcherPopup.js
+++ b/js/ui/switcherPopup.js
@@ -178,7 +178,7 @@ const SwitcherPopup = new Lang.Class({
         return mod(this._selectedIndex - 1, this._items.length);
     },
 
-    _keyPressHandler: function(keysym, backwards, action) {
+    _keyPressHandler: function(keysym, action) {
         throw new Error('Not implemented');
     },
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]