X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Factions.c;h=945233e63fae1f71ba5f826e539012dd298354cd;hb=1d57f7b08590255e57dd5931a1993507b4f116c2;hp=35d5cc25f095c23f2acd78806ee00d7d63a31544;hpb=2202f11f239bb33e49c05aa73b51e7418748cb6b;p=chaz%2Fopenbox diff --git a/openbox/actions.c b/openbox/actions.c index 35d5cc25..945233e6 100644 --- a/openbox/actions.c +++ b/openbox/actions.c @@ -107,6 +107,7 @@ ObActionsDefinition* do_register(const gchar *name, def->name = g_strdup(name); def->free = free; def->run = run; + def->shutdown = NULL; registered = g_slist_prepend(registered, def); return def; @@ -397,6 +398,7 @@ gboolean actions_interactive_input_event(XEvent *e) gboolean used = FALSE; if (interactive_act) { if (!interactive_act->i_input(interactive_initial_state, e, + grab_input_context(), interactive_act->options, &used)) { used = TRUE; /* if it cancelled the action then it has to of