! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
patch to make window transparency adjustable with the mousewheel


Description Christoph Richter 2005-01-10 16:18:23 CET
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!
Comment 1 Christoph Richter 2005-01-10 16:20:45 CET
Created attachment 144 
the patch - against xfwm4.2rc2
Comment 2 michal kaczmarski 2005-01-21 21:06:07 CET
Created attachment 165 
small error corrected with overflowing guint c-opacity with transset

corrected small error with overflow guint c->opacity after incresing opacity
when transset has been used  before ( other opacity than step ) .
Comment 3 Olivier Fourdan editbugs 2005-01-23 09:29:49 CET
Thanks, you're patch is taken with modifications and will show up in CVS HEAD soon.
Comment 4 Zsolt Dollenstein 2005-02-10 07:58:57 CET
Yay! Thanks, I was just beginning to write a patch myself, but thankfully here
it is. :-) Love you! :-)
Comment 5 Olivier Fourdan editbugs 2006-03-11 08:07:51 CET
Seems I forgot to fix close that one as the patch as accepted a while back.

Bug #673

Reported by:
Christoph Richter
Reported on: 2005-01-10
Last modified on: 2009-07-14


Olivier Fourdan
CC List:
1 user



Additional information