summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-28 03:05:03 +0000
committerDana Jansens <danakj@orodu.net>2007-05-28 03:05:03 +0000
commit6a2010199bf5204a66698361fd2b759e2c147a9f (patch)
treeb29951e8b1411479c8cb754d0b2af8aa8c29da06
parent78c80b68dc347b5cc44a4ba7a8e146ef1f8b33c9 (diff)
OPTIMZIE
-rw-r--r--openbox/focus_cycle_popup.c2
1 files changed, 1 insertions, 1 deletions
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