all repos — openbox @ 78c80b68dc347b5cc44a4ba7a8e146ef1f8b33c9

openbox fork - make it a bit more like ryudo

7/16 opacity! heh
Dana Jansens danakj@orodu.net
commit

78c80b68dc347b5cc44a4ba7a8e146ef1f8b33c9

parent

451fb42cd01d7ef1ea935f323f01d3f2214694a1

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M openbox/focus_cycle_popup.copenbox/focus_cycle_popup.c

@@ -431,10 +431,10 @@

s = icon->data; d = icon_data; for (i = 0; i < icon->width * icon->height; ++i, ++d, ++s) { - /* 3/8 opacity */ + /* 7/16 opacity */ gint a = ((*s >> RrDefaultAlphaOffset) & 0xff); *d = *s - (a << RrDefaultAlphaOffset) + - (((a>>2) + (a>>3)) << RrDefaultAlphaOffset); + (((a>>2) + (a>>3) + (a>>4)) << RrDefaultAlphaOffset); } } else