1 #include "openbox/actions.h"
2 #include "openbox/moveresize.h"
5 static gboolean
run_func(ObActionsData
*data
, gpointer options
);
7 void action_move_startup(void)
9 actions_register("Move",
14 /* Always return FALSE because its not interactive */
15 static gboolean
run_func(ObActionsData
*data
, gpointer options
)
20 corner
= data
->button
!= 0 ?
21 OBT_PROP_ATOM(NET_WM_MOVERESIZE_MOVE
) :
22 OBT_PROP_ATOM(NET_WM_MOVERESIZE_MOVE_KEYBOARD
);
24 moveresize_start(data
->client
, data
->x
, data
->y
, data
->button
, corner
);