From 3450adf5d1225bc82a3cec6f759fcb9469038b90 Mon Sep 17 00:00:00 2001 From: Igor Grkavac Date: Wed, 12 Aug 2020 19:56:20 +0200 Subject: [PATCH] [tabbox] Fix for Window Switcher Loop thought the list of modes twice to complete the logic. BUG: 419654 --- tabbox/tabbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabbox/tabbox.cpp b/tabbox/tabbox.cpp index 43e9b22fc3..5d54f023ea 100644 --- a/tabbox/tabbox.cpp +++ b/tabbox/tabbox.cpp @@ -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; }