1 #include "openbox/actions.h"
2 #include "openbox/stacking.h"
3 #include "openbox/window.h"
4 #include "openbox/dock.h"
6 static gboolean raise_func(ObActionsData *data, gpointer options);
7 static gboolean lower_func(ObActionsData *data, gpointer options);
9 void action_dock_startup(void)
11 actions_register("RaiseDock",
14 actions_register("LowerDock",
19 /* Always return FALSE because its not interactive */
20 static gboolean raise_func(ObActionsData *data, gpointer options)
22 actions_client_move(data, TRUE);
24 actions_client_move(data, FALSE);
29 /* Always return FALSE because its not interactive */
30 static gboolean lower_func(ObActionsData *data, gpointer options)
32 actions_client_move(data, TRUE);
34 actions_client_move(data, FALSE);