1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-26 23:21:37 +03:00

forward pressed/released to underneath applets

--there were cases that these signals were not sent
to underneath applets

BUG:410350
FIXED-IN:0.9.1
This commit is contained in:
Michail Vourlakos 2019-07-29 15:58:44 +03:00
parent 4ebf3e2329
commit 7521d8beb8

View File

@ -871,6 +871,12 @@ Item {
mouse.accepted = false;
}
//! these are needed in order for these events to be really forwarded underneath
//! otherwise there were applets that did not receive them e.g. lock/logout applet
//! when parabolic effect was used
onPressed: mouse.accepted = false;
onReleased: mouse.accepted = false;
onWheel: {
if (isSeparator || !root.mouseWheelActions || blockWheel
|| (root.latteViewIsHidden || root.inSlidingIn || root.inSlidingOut)){