From a71a98b667c298fef7895f4d9a07eccb06cc6090 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 29 May 2007 03:55:56 +0000 Subject: set a OB_ICONIFY_ALPHA define in misc.h for the 3 places to all use --- openbox/focus_cycle_popup.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'openbox/focus_cycle_popup.c') diff --git a/openbox/focus_cycle_popup.c b/openbox/focus_cycle_popup.c index b76793b1..8e58c935 100644 --- a/openbox/focus_cycle_popup.c +++ b/openbox/focus_cycle_popup.c @@ -421,9 +421,8 @@ 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; - /* 7/16 alpha for iconic windows */ p->a_icon->texture[0].data.rgba.alpha = - target->client->iconic ? 0x70 : 0xff; + target->client->iconic ? OB_ICONIC_ALPHA : 0xff; p->a_icon->texture[0].data.rgba.data = icon->data; /* draw the icon */ -- cgit v1.2.3