1 #include "openbox/actions.h"
2 #include "openbox/prop.h"
3 #include "openbox/moveresize.h"
5 static gboolean run_func(ObActionsData *data, gpointer options);
7 void action_move_startup(void)
9 actions_register("Move",
15 /* Always return FALSE because its not interactive */
16 static gboolean run_func(ObActionsData *data, gpointer options)
21 corner = data->button != 0 ?
22 prop_atoms.net_wm_moveresize_move :
23 prop_atoms.net_wm_moveresize_move_keyboard;
25 moveresize_start(data->client, data->x, data->y, data->button, corner);