/* executes it using the client in the actions, since we set that
when we make the actions! */
-static void menu_execute(ObMenuEntry *self, guint state, gpointer data)
+static void menu_execute(ObMenuEntry *self, guint state, gpointer data,
+ Time time)
{
ObAction *a;
if (self->data.normal.actions) {
a = self->data.normal.actions->data;
- action_run(self->data.normal.actions, a->data.any.c, state);
+ action_run(self->data.normal.actions, a->data.any.c, state, time);
}
}
combined_menu = menu_new(MENU_NAME, _("Windows"), NULL);
menu_set_update_func(combined_menu, self_update);
- menu_set_execute_func(submenu, desk_menu_execute);
+ menu_set_execute_func(combined_menu, menu_execute);
}
void client_list_combined_menu_shutdown(gboolean reconfig)