From ddb04905922352b64fc063d6f028c6dd9b723525 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Tue, 28 Nov 2023 09:56:13 +0200 Subject: [PATCH] Change default keyboard interactivity to OnDemand OnDemand is a better default as it still ensures that the window will receive keyboard input by default, but it's less aggressive. --- 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 edddf4b..4f56bfc 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::KeyboardInteractivityExclusive; + Window::KeyboardInteractivity keyboardInteractivity = Window::KeyboardInteractivityOnDemand; Window::Layer layer = Window::LayerTop; QMargins margins; Window::ScreenConfiguration screenConfiguration = Window::ScreenFromQWindow;