let gcc do the math. it should be compiler optimized away
This commit is contained in:
parent
28ad33fd5f
commit
13f812174e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue