X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Factions.c;h=75d4af059174a3a19d49f799be32384a5f308681;hb=df73dfa049b9d0bb81e09b27ecf678dce9b46301;hp=7cabbad5ae5576982530238775d915e82e8f2527;hpb=49b14e7bf5eb6256b69e6da66fbf7a0bca383038;p=chaz%2Fopenbox diff --git a/openbox/actions.c b/openbox/actions.c index 7cabbad5..75d4af05 100644 --- a/openbox/actions.c +++ b/openbox/actions.c @@ -275,12 +275,12 @@ void actions_run_acts(GSList *acts, } } -gboolean actions_interactive_act_running() +gboolean actions_interactive_act_running(void) { return interactive_act != NULL; } -void actions_interactive_cancel_act() +void actions_interactive_cancel_act(void) { if (interactive_act) { interactive_act->def->i_cancel(interactive_act->options); @@ -299,14 +299,14 @@ static gboolean actions_interactive_begin_act(ObActionsAct *act, guint 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 return FALSE; } -static void actions_interactive_end_act() +static void actions_interactive_end_act(void) { if (interactive_act) { ungrab_keyboard();