Skip to content

Commit 479cf21

Browse files
committed
This fixes dbus launched switcher sometimes starting in middle of list
1 parent 91dfbd0 commit 479cf21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/manager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ export const Manager = class Manager {
208208
}
209209

210210
if (windows.length) {
211-
let currentIndex = windows.indexOf(display.focus_window);
211+
const currentIndex = 0;
212212
let switcher_class = this.platform.getSettings().switcher_class;
213213
this.switcher = new switcher_class(windows, mask, currentIndex, this, null, isApplicationSwitcher, null, dBus);
214214
}

0 commit comments

Comments
 (0)