diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-08-30 16:58:30 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-08-30 16:58:30 +0000 |
| commit | 2c6c0757fa497f4c1e0648bcbb1927c0fa12862f (patch) | |
| tree | 16b71b97f63b2877fc9d62690f41cd5de42dbf55 /openbox/focus.c | |
| parent | 009685bc4630a5deb3a48179450fb18e619c6e04 (diff) | |
make interactive actions a type and not special cases.
add the <interactive> option to them to turn off interactivity
Diffstat (limited to 'openbox/focus.c')
| -rw-r--r-- | openbox/focus.c | 8 |
1 files changed, 4 insertions, 4 deletions
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); |
