]> Dogcows Code - chaz/openbox/blobdiff - openbox/client_list_combined_menu.c
Make focus_valid_target() take a desktop argument.
[chaz/openbox] / openbox / client_list_combined_menu.c
index 7f0e9f5ddb3c8924a694bee4ac23ecdcf7321271..22840ad6ae9c5e53e61c6e0de1b4070879d5bac7 100644 (file)
@@ -53,7 +53,8 @@ static gboolean self_update(ObMenuFrame *frame, gpointer data)
         menu_add_separator(menu, SEPARATOR, screen_desktop_names[desktop]);
         for (it = focus_order; it; it = g_list_next(it)) {
             ObClient *c = it->data;
-            if (focus_valid_target(c, TRUE, TRUE, FALSE, FALSE, FALSE, FALSE))
+            if (focus_valid_target(c, desktop,
+                                   TRUE, TRUE, FALSE, FALSE, FALSE, FALSE))
             {
                 empty = FALSE;
 
This page took 0.023031 seconds and 4 git commands to generate.