altTab: Fix WindowSwitcherPopup
The "backwards" parameter needs to be dropped here as well.
This commit is contained in:
parent
20fc9735fa
commit
93c5e6d97e
@ -400,9 +400,9 @@ const WindowSwitcherPopup = new Lang.Class({
|
|||||||
this._select(1);
|
this._select(1);
|
||||||
},
|
},
|
||||||
|
|
||||||
_keyPressHandler: function(keysym, backwards, action) {
|
_keyPressHandler: function(keysym, action) {
|
||||||
if (action == Meta.KeyBindingAction.SWITCH_WINDOWS) {
|
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) {
|
} else if (action == Meta.KeyBindingAction.SWITCH_WINDOWS_BACKWARD) {
|
||||||
this._select(this._previous());
|
this._select(this._previous());
|
||||||
} else {
|
} else {
|
||||||
|
@ -178,7 +178,7 @@ const SwitcherPopup = new Lang.Class({
|
|||||||
return mod(this._selectedIndex - 1, this._items.length);
|
return mod(this._selectedIndex - 1, this._items.length);
|
||||||
},
|
},
|
||||||
|
|
||||||
_keyPressHandler: function(keysym, backwards, action) {
|
_keyPressHandler: function(keysym, action) {
|
||||||
throw new Error('Not implemented');
|
throw new Error('Not implemented');
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user