]> Dogcows Code - chaz/openbox/blob - openbox/actions/unfocus.c
70384f4d2528b4016174aaeedf4bccb6f0196555
[chaz/openbox] / openbox / actions / unfocus.c
1 #include "openbox/actions.h"
2 #include "openbox/focus.h"
3
4 static gboolean run_func(ObActionsData *data, gpointer options);
5
6 void action_unfocus_startup()
7 {
8 actions_register("Unfocus", NULL, NULL, run_func, NULL, NULL);
9 }
10
11 /* Always return FALSE because its not interactive */
12 static gboolean run_func(ObActionsData *data, gpointer options)
13 {
14 if (data->client && data->client == focus_client)
15 focus_fallback(FALSE, FALSE, TRUE);
16 return FALSE;
17 }
This page took 0.031623 seconds and 3 git commands to generate.