static void free_func(gpointer options);
static gboolean run_func(ObActionsData *data, gpointer options);
-void action_movetofromedge_startup()
+void action_movetoedge_startup()
{
actions_register("MoveToEdge",
setup_func,
client_find_move_directional(data->client, o->dir, &x, &y);
if (x != data->client->area.x || y != data->client->area.y) {
- actions_client_move(data, FALSE);
- client_move(data->client, x, y);
actions_client_move(data, TRUE);
+ client_move(data->client, x, y);
+ actions_client_move(data, FALSE);
}
}