From 3fd429c9f30e1b8cffdeca2778c7eb20f8a0647f Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 13 May 2025 19:01:00 +1000 Subject: session: move to drawers --- modules/drawers/Drawers.qml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/drawers/Drawers.qml') diff --git a/modules/drawers/Drawers.qml b/modules/drawers/Drawers.qml index fe70b8c..5aa5b50 100644 --- a/modules/drawers/Drawers.qml +++ b/modules/drawers/Drawers.qml @@ -4,6 +4,7 @@ import "root:/widgets" import "root:/services" import "root:/config" import Quickshell +import Quickshell.Wayland import QtQuick Variants { @@ -24,6 +25,7 @@ Variants { screen: scope.modelData name: "drawers" exclusionMode: ExclusionMode.Ignore + keyboardFocus: visibilities.launcher || visibilities.session ? WlrKeyboardFocus.Exclusive : WlrKeyboardFocus.None mask: Region { x: BorderConfig.thickness @@ -77,6 +79,8 @@ Variants { property bool osd property bool notifications: Notifs.popups.length > 0 property bool session + + Component.onCompleted: Visibilities.screens[scope.modelData] = this } Interactions { -- cgit v1.2.3-freya