From d1f892f3a0fcaf2aaa8692f1a73e7ff805688624 Mon Sep 17 00:00:00 2001 From: SomeElse Date: Sat, 16 May 2026 05:00:19 +0000 Subject: [PATCH] removed launcherCloseOnClickOutside, now it's automatically true, also, launcher keyboard control is exclusive --- config/config.qml | 1 - launcher/Launcher.qml | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/config/config.qml b/config/config.qml index e83b585..9b4051c 100644 --- a/config/config.qml +++ b/config/config.qml @@ -105,7 +105,6 @@ QtObject { // ──────────────────────────────────────────────────────────────────────── property string launcherScript: Quickshell.env("HOME") + "/.config/quickshell/launcher/launcher.sh" property string launcherCacheDir: "/tmp/qs_launcher" - property bool launcherCloseOnClickOutside: true property bool launcherSelectFirst: false property bool launcherMipmapIcons: false diff --git a/launcher/Launcher.qml b/launcher/Launcher.qml index 70e6074..d105f25 100644 --- a/launcher/Launcher.qml +++ b/launcher/Launcher.qml @@ -140,8 +140,8 @@ PanelWindow { WlrLayershell.layer: WlrLayer.Overlay WlrLayershell.namespace: "main-shell-launcher" WlrLayershell.exclusiveZone: -1 - WlrLayershell.keyboardFocus: _isOpen ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None - mask: Region { item: (root._isOpen && Cfg.Config.launcherCloseOnClickOutside) ? fullMask : clipContainer } + WlrLayershell.keyboardFocus: _isOpen ? WlrKeyboardFocus.Exclusive : WlrKeyboardFocus.None + mask: Region { item: root._isOpen ? fullMask : clipContainer } Item { id: fullMask; anchors.fill: parent } @@ -184,7 +184,7 @@ PanelWindow { MouseArea { anchors.fill: parent - enabled: root._isOpen && Cfg.Config.launcherCloseOnClickOutside + enabled: root._isOpen onClicked: root.close() }