From 24ae5d327ed80821e74c0055f3b968ba33781f73 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Thu, 23 Oct 2025 16:46:51 +0200 Subject: [PATCH] notif groups: expand on right press instead of release --- .../ii/modules/common/widgets/NotificationGroup.qml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dots/.config/quickshell/ii/modules/common/widgets/NotificationGroup.qml b/dots/.config/quickshell/ii/modules/common/widgets/NotificationGroup.qml index b4c96978b..b20b470fa 100644 --- a/dots/.config/quickshell/ii/modules/common/widgets/NotificationGroup.qml +++ b/dots/.config/quickshell/ii/modules/common/widgets/NotificationGroup.qml @@ -86,10 +86,13 @@ MouseArea { // Notification group area automaticallyReset: false acceptedButtons: Qt.LeftButton | Qt.RightButton | Qt.MiddleButton - onClicked: (mouse) => { + onPressed: { if (mouse.button === Qt.RightButton) root.toggleExpanded(); - else if (mouse.button === Qt.MiddleButton) + } + + onClicked: (mouse) => { + if (mouse.button === Qt.MiddleButton) root.destroyWithAnimation(); }