[PATCH] control window opacity with your scrollwheel

Christoph Richter prof.toph at gmail.com
Mon Jan 10 11:21:48 CET 2005


Hi List!

I've hacked a little feature into xfwm4.2rc2: scrolling your mousewheel on a
window's border changes its opacity. Although I rarely make use of
translucent windows, I find it really convenient to change the window
transparency that way.

I hope you like that idea and it gets implemented into xfwm4 one day.

The patch also contains a tiny change to compositor.c: Translucent
windows tend to get a bit dark, due to their underlying shadow. I
changed the formula for the shadow's darkness to be proportional to
the window's opacity^2, which does look a bit better to my eyes.

Thanx for that wonderful DE!

        Toph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scrollwheel-trans-xfwm4.2.diff
Type: text/x-patch
Size: 2705 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20050110/05ffdf0e/attachment.bin>


More information about the Xfce4-dev mailing list