summaryrefslogtreecommitdiff
path: root/openbox/focus_cycle_popup.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-29 03:55:56 +0000
committerDana Jansens <danakj@orodu.net>2007-05-29 03:55:56 +0000
commita71a98b667c298fef7895f4d9a07eccb06cc6090 (patch)
treefd1a7a05a53286856ec2814c22c8258b20bd2717 /openbox/focus_cycle_popup.c
parent7b14d44b39d22da2a581124cd3d5584aec6a9617 (diff)
set a OB_ICONIFY_ALPHA define in misc.h for the 3 places to all use
Diffstat (limited to 'openbox/focus_cycle_popup.c')
-rw-r--r--openbox/focus_cycle_popup.c3
1 files changed, 1 insertions, 2 deletions
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 */