diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-29 03:37:01 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-29 03:37:01 +0000 |
| commit | 13f812174e8c9257a7618b769afd31eb2fa2d7b4 (patch) | |
| tree | 3c1de4c6b3e773bca8bdc5d8e9b930cd34ba333b /openbox | |
| parent | 28ad33fd5fccec49935bf94d25ee3cd5f2d3d9b9 (diff) | |
let gcc do the math. it should be compiler optimized away
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/focus_cycle_popup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/focus_cycle_popup.c b/openbox/focus_cycle_popup.c index 0bfe9b6b..0ac274dd 100644 --- 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; |
