diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-29 03:40:43 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-29 03:40:43 +0000 |
| commit | cb5cc0d7ac8008fbd00614ef05acdc68fb60c5ed (patch) | |
| tree | 74ca1322caba7416d70a979bf070950c589013f6 | |
| parent | 1d267613a3c3423d00150a9ba778f229385cd03e (diff) | |
trying to be as cool as mika /._.;\
| -rw-r--r-- | openbox/focus_cycle_popup.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/openbox/focus_cycle_popup.c b/openbox/focus_cycle_popup.c index 8251deab..b76793b1 100644 --- a/openbox/focus_cycle_popup.c +++ b/openbox/focus_cycle_popup.c @@ -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 */ |
