Remove 'backwards' argument from SwitcherPopup:_keyPressHandler
All derived classes are already checking explicitly for action names (FOO and FOO_BACKWARDS). mutter used to have a META_KEY_BINDING_REVERSES flag for keybindings which required special handling of "shift"+FOO as FOO_BACKWARDS, but this has been removed now, so this special handling is no longer necessary. https://bugzilla.gnome.org/show_bug.cgi?id=732296
This commit is contained in:
@ -156,11 +156,11 @@ const CtrlAltTabPopup = new Lang.Class({
|
||||
this._select(this._selectedIndex);
|
||||
},
|
||||
|
||||
_keyPressHandler: function(keysym, backwards, action) {
|
||||
_keyPressHandler: function(keysym, action) {
|
||||
if (action == Meta.KeyBindingAction.SWITCH_PANELS)
|
||||
this._select(backwards ? this._previous() : this._next());
|
||||
this._select(this._next());
|
||||
else if (action == Meta.KeyBindingAction.SWITCH_PANELS_BACKWARD)
|
||||
this._select(backwards ? this._next() : this._previous());
|
||||
this._select(this._previous());
|
||||
else if (keysym == Clutter.Left)
|
||||
this._select(this._previous());
|
||||
else if (keysym == Clutter.Right)
|
||||
|
Reference in New Issue
Block a user