X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Ffocus_cycle_popup.c;h=89c3c82c0925f20e917e384060ac1951cfc263e4;hb=39d94f0db04dc62bf44a24e152550e504cb6649d;hp=b1a99e296a82d06a1bff8123f1eaa06f803c8c96;hpb=451fb42cd01d7ef1ea935f323f01d3f2214694a1;p=chaz%2Fopenbox diff --git a/openbox/focus_cycle_popup.c b/openbox/focus_cycle_popup.c index b1a99e29..89c3c82c 100644 --- a/openbox/focus_cycle_popup.c +++ b/openbox/focus_cycle_popup.c @@ -431,10 +431,10 @@ static void popup_render(ObFocusCyclePopup *p, const ObClient *c) 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>>1) - (a>>4)) << RrDefaultAlphaOffset); } } else