]> Dogcows Code - chaz/openbox/blobdiff - openbox/client_list_menu.c
set a OB_ICONIFY_ALPHA define in misc.h for the 3 places to all use
[chaz/openbox] / openbox / client_list_menu.c
index e5ad17a394367b293b1c3b3b20bad26689cccf21..258646843a9a68d46c56175ec3780eca8f597986 100644 (file)
@@ -84,6 +84,7 @@ static gboolean desk_menu_update(ObMenuFrame *frame, gpointer data)
                 e->data.normal.icon_width = icon->width;
                 e->data.normal.icon_height = icon->height;
                 e->data.normal.icon_data = icon->data;
+                e->data.normal.icon_alpha = c->iconic ? OB_ICONIC_ALPHA : 0xff;
             }
         }
     }
@@ -135,7 +136,6 @@ static gboolean self_update(ObMenuFrame *frame, gpointer data)
 {
     ObMenu *menu = frame->menu;
     guint i;
-    GSList *it, *next;
 
     menu_clear_entries(menu);
 
This page took 0.021727 seconds and 4 git commands to generate.