From f6259d0ff72fad4fd84951467c67dcdd66398ef6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hu=E1=BB=B3nh=20Thi=E1=BB=87n=20L=E1=BB=99c?= Date: Thu, 20 Aug 2026 23:27:06 +0700 Subject: [PATCH] fix(dankbar): consume empty-area right clicks (#3127) * fix(dankbar): consume empty-area right clicks * fix(dankbar): preserve click-through reveal --- quickshell/Modules/DankBar/DankBarBody.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quickshell/Modules/DankBar/DankBarBody.qml b/quickshell/Modules/DankBar/DankBarBody.qml index facd18b90..16901f87f 100644 --- a/quickshell/Modules/DankBar/DankBarBody.qml +++ b/quickshell/Modules/DankBar/DankBarBody.qml @@ -1045,8 +1045,8 @@ Item { } readonly property bool inOverview: CompositorService.isNiri && NiriService.inOverview && barWindow.effectiveOpenOnOverview hoverEnabled: (barConfig?.autoHide ?? false) && !inOverview && !topBarCore.popoutPinsReveal - acceptedButtons: Qt.NoButton - enabled: (barConfig?.autoHide ?? false) && !inOverview + acceptedButtons: barWindow.clickThroughEnabled ? Qt.NoButton : Qt.RightButton + enabled: !inOverview && ((barConfig?.autoHide ?? false) || !barWindow.clickThroughEnabled) onPositionChanged: mouse => { if (!topBarCore.gapEnterSuppressed) return;