]> icculus.org git repositories - dana/openbox.git/blob - openbox/actions/focustobottom.c
Don't ever give borders to windows that didnt have them before by making them "undeco...
[dana/openbox.git] / openbox / actions / focustobottom.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_focustobottom_startup(void)
7 {
8     actions_register("FocusToBottom", 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)
15         focus_order_to_bottom(data->client);
16     return FALSE;
17 }