alternate-tab: Remove 'backwards' argument from SwitcherPopup:_keyPressHandler

Match the change from commit d450b74e10610c6164e

https://bugzilla.gnome.org/show_bug.cgi?id=735239
This commit is contained in:
Adel Gadllah
2014-08-24 11:10:47 +02:00
parent 26eea0bb46
commit b2a2653492

View File

@@ -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) {