]> Dogcows Code - chaz/openbox/blobdiff - openbox/focus_cycle_popup.c
set a OB_ICONIFY_ALPHA define in misc.h for the 3 places to all use
[chaz/openbox] / openbox / focus_cycle_popup.c
index b76793b1ed6581f819d3940068cfd1b83a933e07..8e58c935ebf150960bb16d2e61fe9b8aaed15ffe 100644 (file)
@@ -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 */
This page took 0.023054 seconds and 4 git commands to generate.