[tabbox] Fix for Window Switcher

Loop thought the list of modes twice to complete the logic.

BUG: 419654
master
Igor Grkavac 2020-08-12 19:56:20 +02:00
parent f237f273da
commit 3450adf5d1
1 changed files with 1 additions and 1 deletions

View File

@ -1359,7 +1359,7 @@ void TabBox::keyPress(int keyQt)
QTimer::singleShot(50, this, replayWithChangedTabboxMode);
}
break;
} else if (++j > ModeCount) { // guarding counter for invalid modes
} else if (++j > 2*ModeCount) { // guarding counter for invalid modes
qCDebug(KWIN_TABBOX) << "Invalid TabBoxMode";
return;
}