#include "frame.h"
#include "screen.h"
#include "action.h"
-#include "snap.h"
+#include "dispatch.h"
#include <glib.h>
client_close(data->client.c);
}
+void action_kill(union ActionData *data)
+{
+ client_kill(data->client.c);
+}
+
void action_shade(union ActionData *data)
{
client_shade(data->client.c, TRUE);
int x = data->move.x;
int y = data->move.y;
- snap_move(c, &x, &y, c->frame->area.width, c->frame->area.height);
+ 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,