From 2ea707585f9f6774c45fbb4cbd21dac8b0cd3844 Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Wed, 2 Aug 2023 15:21:48 +0200 Subject: [PATCH] input: use modifiersRelevantForGlobalShortcuts for tabbox events This way, caps lock doesn't get in the way BUG: 453918 --- src/input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input.cpp b/src/input.cpp index d5f95dbd43..7666084b3b 100644 --- a/src/input.cpp +++ b/src/input.cpp @@ -1623,7 +1623,7 @@ public: passToWaylandServer(event); if (event->type() == QEvent::KeyPress) { - workspace()->tabbox()->keyPress(event->modifiers() | event->key()); + workspace()->tabbox()->keyPress(event->modifiersRelevantForGlobalShortcuts() | event->key()); } else if (static_cast(event)->modifiersRelevantForGlobalShortcuts() == Qt::NoModifier) { workspace()->tabbox()->modifiersReleased(); }