From e104428b2893ca9f0cf4557f300f67bb70f13081 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 23 Jul 2025 17:21:05 +1000 Subject: popouts: better tray menu focus handling Don't hide on hover lost, use a focus grab instead --- modules/bar/popouts/TrayMenu.qml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'modules/bar/popouts/TrayMenu.qml') diff --git a/modules/bar/popouts/TrayMenu.qml b/modules/bar/popouts/TrayMenu.qml index 07742db..59f310b 100644 --- a/modules/bar/popouts/TrayMenu.qml +++ b/modules/bar/popouts/TrayMenu.qml @@ -5,6 +5,7 @@ import qs.services import qs.config import Quickshell import Quickshell.Widgets +import Quickshell.Hyprland import QtQuick import QtQuick.Controls @@ -26,6 +27,12 @@ StackView { popEnter: Anim {} popExit: Anim {} + HyprlandFocusGrab { + active: true + windows: [QsWindow.window] + onCleared: root.popouts.hasCurrent = false + } + component Anim: Transition { NumberAnimation { duration: 0 -- cgit v1.2.3-freya