From 3c116e75508c717785f43831a3a9273a98ebdae7 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Tue, 28 Nov 2023 09:00:20 +0200 Subject: [PATCH] Revert "Change default keyboard interactivity from exclusive to none" This reverts commit be6378388894f2fa6bd01a2711a5b0c2053809ac. It broke keyboard input in sddm greeter. While defaulting to a non-spec value is not great, it's also not that critical. It might be worth considering synchronizing Qt::WindowDoesNotAcceptFocus with the keyboard interactivity flag, but the tricky part is that the keyboard interactivty is not just a boolean. BUG: 477251 --- src/interfaces/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interfaces/window.cpp b/src/interfaces/window.cpp index 97233e6..edddf4b 100644 --- a/src/interfaces/window.cpp +++ b/src/interfaces/window.cpp @@ -31,7 +31,7 @@ public: QString scope = QStringLiteral("window"); Window::Anchors anchors = {Window::AnchorTop | Window::AnchorBottom | Window::AnchorLeft | Window::AnchorRight}; int32_t exclusionZone = 0; - Window::KeyboardInteractivity keyboardInteractivity = Window::KeyboardInteractivityNone; + Window::KeyboardInteractivity keyboardInteractivity = Window::KeyboardInteractivityExclusive; Window::Layer layer = Window::LayerTop; QMargins margins; Window::ScreenConfiguration screenConfiguration = Window::ScreenFromQWindow;