1 #include "openbox/action.h"
2 #include "openbox/action_list_run.h"
3 #include "openbox/focus.h"
5 static gboolean run_func(const ObActionListRun *data, gpointer options);
7 void action_unfocus_startup(void)
9 action_register("Unfocus", OB_ACTION_DEFAULT_FILTER_SINGLE,
10 NULL, NULL, run_func);
13 /* Always return FALSE because its not interactive */
14 static gboolean run_func(const ObActionListRun *data, gpointer options)
16 if (data->client && data->client == focus_client)
17 focus_fallback(FALSE, FALSE, TRUE, FALSE);