From b2a2653492927aef90028cfe0e8071d8bbab8ee2 Mon Sep 17 00:00:00 2001 From: Adel Gadllah Date: Sun, 24 Aug 2014 11:10:47 +0200 Subject: [PATCH] alternate-tab: Remove 'backwards' argument from SwitcherPopup:_keyPressHandler Match the change from commit d450b74e10610c6164e https://bugzilla.gnome.org/show_bug.cgi?id=735239 --- extensions/alternate-tab/extension.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/alternate-tab/extension.js b/extensions/alternate-tab/extension.js index 8b4cc744..cecfc486 100644 --- a/extensions/alternate-tab/extension.js +++ b/extensions/alternate-tab/extension.js @@ -30,11 +30,11 @@ function enable() { this._select(1); }; injections['_keyPressHandler'] = AltTab.WindowSwitcherPopup.prototype._keyPressHandler; - AltTab.WindowSwitcherPopup.prototype._keyPressHandler = function(keysym, backwards, action) { + AltTab.WindowSwitcherPopup.prototype._keyPressHandler = function(keysym, action) { if (action == Meta.KeyBindingAction.SWITCH_WINDOWS || action == Meta.KeyBindingAction.SWITCH_APPLICATIONS || action == Meta.KeyBindingAction.SWITCH_GROUP) { - this._select(backwards ? this._previous() : this._next()); + this._select(this._next()); } else if (action == Meta.KeyBindingAction.SWITCH_WINDOWS_BACKWARD || action == Meta.KeyBindingAction.SWITCH_APPLICATIONS_BACKWARD || action == Meta.KeyBindingAction.SWITCH_GROUP_BACKWARD) {