X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Ffocus_cycle_popup.c;h=e7b6416c2991bd634c4865100277d30b855a016d;hb=78c80b68dc347b5cc44a4ba7a8e146ef1f8b33c9;hp=13f12da514fac6b3a60eea04472d7e145ec3357b;hpb=db4bc708d3923016095bfc34e4cde871ea3c4800;p=chaz%2Fopenbox diff --git a/openbox/focus_cycle_popup.c b/openbox/focus_cycle_popup.c index 13f12da5..e7b6416c 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) { - /* 50% opacity */ + /* 7/16 opacity */ gint a = ((*s >> RrDefaultAlphaOffset) & 0xff); *d = *s - (a << RrDefaultAlphaOffset) + - ((a>>1) << RrDefaultAlphaOffset); + (((a>>2) + (a>>3) + (a>>4)) << RrDefaultAlphaOffset); } } else