Skip to content

Commit af33618

Browse files
committed
appSwitcher.js: Account for alt-tab reverse actions in the window.
This allows the switcher to show the correct initial windows if alt-tab is brought up by a reverse keybinding. ref: #11004
1 parent e49a997 commit af33618

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

js/ui/appSwitcher/appSwitcher.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,12 @@ function getWindowsForBinding(binding) {
6666

6767
switch(binding.get_name()) {
6868
case 'switch-panels':
69+
case 'switch-panels-backward':
6970
// Switch between windows of all workspaces
7071
windows = windows.filter( matchSkipTaskbar );
7172
break;
7273
case 'switch-group':
74+
case 'switch-group-backward':
7375
// Switch between windows of the same application
7476
let focused = global.display.focus_window ? global.display.focus_window : windows[0];
7577
windows = windows.filter( matchWmClass, focused.get_wm_class() );

0 commit comments

Comments
 (0)