1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-25 09:33:51 +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,7 +646,10 @@ Item {
var local = appletItem.mapFromItem(root, pos.x, pos.y);
appletItem.mousePressed(local.x, local.y, button);
appletItem.activateAppletForNeutralAreas(local);
if (button === Qt.LeftButton) {
appletItem.activateAppletForNeutralAreas(local);
}
}
}