mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
NPanel: reverted yesterday fix, trying another fix.
This commit is contained in:
+2
-1
@@ -81,7 +81,8 @@ Variants {
|
||||
acceptedButtons: Qt.RightButton
|
||||
onClicked: function (mouse) {
|
||||
if (mouse.button === Qt.RightButton) {
|
||||
controlCenterPanel.toggle(BarService.lookupWidget("ControlCenter"))
|
||||
// Important to pass the screen here so we get the right widget for the actual bar that was clicked.
|
||||
controlCenterPanel.toggle(BarService.lookupWidget("ControlCenter", screen.name))
|
||||
mouse.accepted = true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user