From 63f748aa3fac4d3ed004a2c5343a51c3a046e21d Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 8 Jan 2010 14:40:29 -0500 Subject: Make focus_valid_target() take a desktop argument. So you can find valid targets on desktops other than the currently visible one --- openbox/focus_cycle_popup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/focus_cycle_popup.c') diff --git a/openbox/focus_cycle_popup.c b/openbox/focus_cycle_popup.c index 4f697fdd..42484418 100644 --- a/openbox/focus_cycle_popup.c +++ b/openbox/focus_cycle_popup.c @@ -261,7 +261,7 @@ static void popup_setup(ObFocusCyclePopup *p, gboolean create_targets, for (it = g_list_last(focus_order); it; it = g_list_previous(it)) { ObClient *ft = it->data; - if (focus_valid_target(ft, TRUE, + if (focus_valid_target(ft, screen_desktop, TRUE, iconic_windows, all_desktops, dock_windows, -- cgit v1.2.3