From 6a2010199bf5204a66698361fd2b759e2c147a9f Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 28 May 2007 03:05:03 +0000 Subject: [PATCH] OPTIMZIE --- openbox/focus_cycle_popup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2