mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-30 06:57:49 -04:00
fix(dankbar): consume empty-area right clicks (#3127)
* fix(dankbar): consume empty-area right clicks * fix(dankbar): preserve click-through reveal
This commit is contained in:
1 parent
d10ca38651
commit
f6259d0ff7
1 file changed
+2
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user