Rework the code provided by Kadlcik Libor for loading/showing icons in Openbox menus.
[dana/openbox.git] / openbox / client_list_combined_menu.c
index 22840ad..f4aae88 100644 (file)
@@ -67,7 +67,7 @@ static gboolean self_update(ObMenuFrame *frame, gpointer data)
                     e = menu_add_normal(menu, desktop, c->title, NULL, FALSE);
                 }
 
-                if (config_menu_client_list_icons) {
+                if (config_menu_show_icons) {
                     e->data.normal.icon = client_icon(c);
                     RrImageRef(e->data.normal.icon);
                     e->data.normal.icon_alpha =