]> Dogcows Code - chaz/openbox/commitdiff
OPTIMZIE
authorDana Jansens <danakj@orodu.net>
Mon, 28 May 2007 03:05:03 +0000 (03:05 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 28 May 2007 03:05:03 +0000 (03:05 +0000)
openbox/focus_cycle_popup.c

index e7b6416c2991bd634c4865100277d30b855a016d..89c3c82c0925f20e917e384060ac1951cfc263e4 100644 (file)
@@ -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
This page took 0.023104 seconds and 4 git commands to generate.