1 #include "openbox/actions.h"
2 #include "openbox/focus.h"
4 static gboolean run_func(ObActionsData *data, gpointer options);
6 void action_unfocus_startup()
8 actions_register("Unfocus", NULL, NULL, run_func, NULL, NULL);
11 /* Always return FALSE because its not interactive */
12 static gboolean run_func(ObActionsData *data, gpointer options)
14 if (data->client && data->client == focus_client)
15 focus_fallback(FALSE, FALSE, TRUE);