1
0
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:
Michail Vourlakos 2019-12-25 21:44:39 +02:00
parent 6a95af5f8c
commit 6a17a3e67b

View File

@ -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)) {