Skip to content

Commit 8dbb5bd

Browse files
authored
Fix super+shift+number not disabling in grouped-window-list applet (#11464)
- Setting the value of the applet settings parameter 'super-num-hotkeys' to false should now avoid registering the super+shift+number app launcher key binds whereas it previously it only avoided registering super+number key binds - These changes should fix the unexpected behavior reported in #11393.
1 parent 5f2d341 commit 8dbb5bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

files/usr/share/cinnamon/applets/[email protected]/applet.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -459,11 +459,11 @@ class GroupedWindowListApplet extends Applet.Applet {
459459
bindAppKeys() {
460460
this.unbindAppKeys();
461461

462-
for (let i = 1; i < 10; i++) {
463-
if (this.state.settings.SuperNumHotkeys) {
462+
if (this.state.settings.SuperNumHotkeys) {
463+
for (let i = 1; i < 10; i++) {
464464
this.bindAppKey(i);
465+
this.bindNewAppKey(i);
465466
}
466-
this.bindNewAppKey(i);
467467
}
468468
Main.keybindingManager.addHotKey('launch-show-apps-order', this.state.settings.showAppsOrderHotkey, () =>
469469
this.showAppsOrder()

0 commit comments

Comments
 (0)