From 2c6c0757fa497f4c1e0648bcbb1927c0fa12862f Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 30 Aug 2003 16:58:30 +0000 Subject: make interactive actions a type and not special cases. add the option to them to turn off interactivity --- openbox/focus.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'openbox/focus.c') diff --git a/openbox/focus.c b/openbox/focus.c index dab6d573..a15e1b16 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -80,7 +80,7 @@ void focus_set_client(ObClient *client) /* in the middle of cycling..? kill it. */ if (focus_cycle_target) - focus_cycle(TRUE, TRUE, TRUE, TRUE); + focus_cycle(TRUE, TRUE, TRUE, TRUE, TRUE); old = focus_client; focus_client = client; @@ -257,8 +257,8 @@ static void popup_cycle(ObClient *c, gboolean show) } } -ObClient *focus_cycle(gboolean forward, gboolean linear, gboolean done, - gboolean cancel) +ObClient *focus_cycle(gboolean forward, gboolean linear, + gboolean dialog, gboolean done, gboolean cancel) { static ObClient *first = NULL; static ObClient *t = NULL; @@ -313,7 +313,7 @@ ObClient *focus_cycle(gboolean forward, gboolean linear, gboolean done, focus_cycle_target = ft; frame_adjust_focus(focus_cycle_target->frame, TRUE); } - popup_cycle(ft, config_focus_popup); + popup_cycle(ft, dialog); return ft; } } while (it != start); -- cgit v1.2.3