]> Dogcows Code - chaz/openbox/blobdiff - openbox/actions.c
using g_slice_new() instead of g_new() part 1
[chaz/openbox] / openbox / actions.c
index 35d5cc25f095c23f2acd78806ee00d7d63a31544..945233e63fae1f71ba5f826e539012dd298354cd 100644 (file)
@@ -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
This page took 0.021818 seconds and 4 git commands to generate.