mirror of
https://github.com/KDE/latte-dock.git
synced 2024-12-25 19:21:41 +03:00
only left click for applets neutral areas activate
This commit is contained in:
parent
6a95af5f8c
commit
6a17a3e67b
@ -646,9 +646,12 @@ Item {
|
||||
var local = appletItem.mapFromItem(root, pos.x, pos.y);
|
||||
|
||||
appletItem.mousePressed(local.x, local.y, button);
|
||||
|
||||
if (button === Qt.LeftButton) {
|
||||
appletItem.activateAppletForNeutralAreas(local);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
onMouseReleased: {
|
||||
if (appletItem.containsPos(pos)) {
|
||||
|
Loading…
Reference in New Issue
Block a user