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;