let gcc do the math. it should be compiler optimized away
Dana Jansens danakj@orodu.net
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
openbox/focus_cycle_popup.c
→
openbox/focus_cycle_popup.c
@@ -424,7 +424,7 @@ p->a_icon->texture[0].data.rgba.width = icon->width;
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;