[PATCH] pass mouse wheel events to the wallpaper

Benoit Jacob jacob.benoit.1 at gmail.com
Thu Sep 4 18:01:55 CEST 2008


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff
Type: application/octet-stream
Size: 1657 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20080904/dfac074c/attachment.dll 


More information about the Plasma-devel mailing list