1 #include "openbox/actions.h"
2 #include "openbox/stacking.h"
3 #include "openbox/window.h"
5 static gboolean run_func(ObActionsData *data, gpointer options);
7 void action_raise_startup(void)
9 actions_register("Raise", NULL, NULL, run_func);
12 /* Always return FALSE because its not interactive */
13 static gboolean run_func(ObActionsData *data, gpointer options)
16 actions_client_move(data, TRUE);
17 stacking_raise(CLIENT_AS_WINDOW(data->client));
18 actions_client_move(data, FALSE);