Hi,

The attached patch makes Containment forward mouse wheel events first
to the wallpaper, if the event screenPos() indicates that the mouse
cursor was on the wallpaper. I adapted this code from what you were
already doing with mouseMoveEvent().

If the wallpaper doesn't accept the wheel event, it gets propagated as before.

Please, review this short patch and tell me if I may commit.

Cheers,
Benoit

Attachment: diff
Description: Binary data

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to