From: Dana Jansens Date: Mon, 28 May 2007 03:05:03 +0000 (+0000) Subject: OPTIMZIE X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=6a2010199bf5204a66698361fd2b759e2c147a9f;p=chaz%2Fopenbox OPTIMZIE --- diff --git a/openbox/focus_cycle_popup.c b/openbox/focus_cycle_popup.c index e7b6416c..89c3c82c 100644 --- a/openbox/focus_cycle_popup.c +++ b/openbox/focus_cycle_popup.c @@ -434,7 +434,7 @@ static void popup_render(ObFocusCyclePopup *p, const ObClient *c) /* 7/16 opacity */ gint a = ((*s >> RrDefaultAlphaOffset) & 0xff); *d = *s - (a << RrDefaultAlphaOffset) + - (((a>>2) + (a>>3) + (a>>4)) << RrDefaultAlphaOffset); + (((a>>1) - (a>>4)) << RrDefaultAlphaOffset); } } else