+
+void action_move(union ActionData *data)
+{
+ Client *c = data->move.c;
+ int x = data->move.x;
+ int y = data->move.y;
+
+ dispatch_move(c, &x, &y);
+
+ frame_frame_gravity(c->frame, &x, &y); /* get where the client should be */
+ client_configure(c, Corner_TopLeft, x, y, c->area.width, c->area.height,
+ TRUE, data->move.final);
+}
+
+void action_resize(union ActionData *data)
+{
+ Client *c = data->resize.c;
+ int w = data->resize.x - c->frame->size.left - c->frame->size.right;
+ int h = data->resize.y - c->frame->size.top - c->frame->size.bottom;
+
+ /* XXX window snapping/struts */
+
+ client_configure(c, data->resize.corner, c->area.x, c->area.y, w, h,
+ TRUE, data->resize.final);
+}
+
+void action_restart(union ActionData *data)
+{
+ ob_restart_path = data->execute.path;
+ ob_shutdown = ob_restart = TRUE;
+}
+
+void action_exit(union ActionData *data)
+{
+ ob_shutdown = TRUE;
+}