projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28ad33f
)
let gcc do the math. it should be compiler optimized away
author
Dana Jansens
<danakj@orodu.net>
Tue, 29 May 2007 03:37:01 +0000
(
03:37
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 29 May 2007 03:37:01 +0000
(
03:37
+0000)
openbox/focus_cycle_popup.c
patch
|
blob
|
history
diff --git
a/openbox/focus_cycle_popup.c
b/openbox/focus_cycle_popup.c
index
0bfe9b6
..
0ac274d
100644
(file)
--- a/
openbox/focus_cycle_popup.c
+++ b/
openbox/focus_cycle_popup.c
@@
-424,7
+424,7
@@
static void popup_render(ObFocusCyclePopup *p, const ObClient *c)
p->a_icon->texture[0].data.rgba.height = icon->height;
if (target->client->iconic)
/* 7/16 alpha */
- p->a_icon->texture[0].data.rgba.alpha =
(0xff>>1) - (0xff>>4)
;
+ p->a_icon->texture[0].data.rgba.alpha =
0xff*7/16
;
else
p->a_icon->texture[0].data.rgba.alpha = 0xff;
p->a_icon->texture[0].data.rgba.data = icon->data;