summaryrefslogtreecommitdiff
path: root/openbox/focus_cycle_popup.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2010-01-08 14:40:29 -0500
committerDana Jansens <danakj@orodu.net>2010-01-08 14:44:37 -0500
commit63f748aa3fac4d3ed004a2c5343a51c3a046e21d (patch)
tree014f0d85749c6ad39cb3c275d2fab90bfc8b26a8 /openbox/focus_cycle_popup.c
parent447cf22597be8b0f60545cd31355b347ac874002 (diff)
Make focus_valid_target() take a desktop argument.
So you can find valid targets on desktops other than the currently visible one
Diffstat (limited to 'openbox/focus_cycle_popup.c')
-rw-r--r--openbox/focus_cycle_popup.c2
1 files changed, 1 insertions, 1 deletions
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,