trying to be as cool as mika /._.;\
This commit is contained in:
parent
1d267613a3
commit
cb5cc0d7ac
1 changed files with 3 additions and 5 deletions
|
@ -421,11 +421,9 @@ static void popup_render(ObFocusCyclePopup *p, const ObClient *c)
|
|||
icon = client_icon(target->client, innerw, innerh);
|
||||
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*7/16;
|
||||
else
|
||||
p->a_icon->texture[0].data.rgba.alpha = 0xff;
|
||||
/* 7/16 alpha for iconic windows */
|
||||
p->a_icon->texture[0].data.rgba.alpha =
|
||||
target->client->iconic ? 0x70 : 0xff;
|
||||
p->a_icon->texture[0].data.rgba.data = icon->data;
|
||||
|
||||
/* draw the icon */
|
||||
|
|
Loading…
Reference in a new issue