From c6f2875d61ce038bcc3b28e28aa26a0648efd752 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 13 Jul 2007 17:12:40 -0400 Subject: move directionalcycling actions into the same .c file. make interactive actions all kill delayed mouse focus which would kill the action. --- openbox/actions.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'openbox/actions.c') diff --git a/openbox/actions.c b/openbox/actions.c index 0f375267..3f1c34cc 100644 --- a/openbox/actions.c +++ b/openbox/actions.c @@ -293,6 +293,11 @@ static gboolean actions_interactive_begin_act(ObActionsAct *act, guint state) actions_act_ref(interactive_act); interactive_initial_state = state; + + /* if using focus_delay, stop the timer now so that focus doesn't go + moving on us, which would kill the action */ + event_halt_focus_delay(); + return TRUE; } else -- cgit v1.2.3