1 #include "openbox/action.h"
2 #include "openbox/action_list_run.h"
3 #include "openbox/stacking.h"
4 #include "openbox/window.h"
6 static gboolean run_func(const ObActionListRun *data, gpointer options);
8 void action_lower_startup(void)
10 action_register("Lower", OB_ACTION_DEFAULT_FILTER_SINGLE,
11 NULL, NULL, run_func);
14 /* Always return FALSE because its not interactive */
15 static gboolean run_func(const ObActionListRun *data, gpointer options)
18 action_client_move(data, TRUE);
19 stacking_lower(CLIENT_AS_WINDOW(data->client));
20 action_client_move(data, FALSE);