mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Bar: minor memory optimization
This commit is contained in:
@@ -79,6 +79,8 @@ Variants {
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
acceptedButtons: Qt.RightButton
|
||||
hoverEnabled: false
|
||||
preventStealing: true
|
||||
onClicked: function (mouse) {
|
||||
if (mouse.button === Qt.RightButton) {
|
||||
// Important to pass the screen here so we get the right widget for the actual bar that was clicked.
|
||||
|
||||
Reference in New Issue
Block a user