]> Dogcows Code - chaz/openbox/blobdiff - openbox/client_list_menu.c
Make focus_valid_target() take a desktop argument.
[chaz/openbox] / openbox / client_list_menu.c
index e1f4987a5910fe29dad0764e0da3ac02ca1610cd..3f79f621f10882017bcd92276e1b9e197bb273bd 100644 (file)
@@ -54,7 +54,8 @@ static gboolean desk_menu_update(ObMenuFrame *frame, gpointer data)
 
     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, d->desktop,
+                               TRUE, TRUE, FALSE, FALSE, FALSE, FALSE)) {
             ObMenuEntry *e;
 
             empty = FALSE;
This page took 0.024278 seconds and 4 git commands to generate.