]> Dogcows Code - chaz/openbox/blobdiff - openbox/client_list_combined_menu.c
add cleanup function for menus that fires when the menu is no longer visible
[chaz/openbox] / openbox / client_list_combined_menu.c
index 22840ad6ae9c5e53e61c6e0de1b4070879d5bac7..f664b776ad693ecea35457a9b5853b7015721015 100644 (file)
@@ -54,7 +54,8 @@ static gboolean self_update(ObMenuFrame *frame, gpointer data)
         for (it = focus_order; it; it = g_list_next(it)) {
             ObClient *c = it->data;
             if (focus_valid_target(c, desktop,
-                                   TRUE, TRUE, FALSE, FALSE, FALSE, FALSE))
+                                   TRUE, TRUE,
+                                   FALSE, TRUE, FALSE, FALSE, FALSE))
             {
                 empty = FALSE;
 
@@ -67,7 +68,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 =
This page took 0.02142 seconds and 4 git commands to generate.