X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Factions%2Fmovetoedge.c;h=768783f2572ea6007706258edfc090635ab17645;hb=e5c7c95f2db1eef776d5acd3db46334fb932e3a6;hp=8a4044beb06edc4a58fe2b468c0c11b667b9ea08;hpb=2a4cd4f6bd9f6b5a43ea6a825e964fb1f4dccd80;p=chaz%2Fopenbox diff --git a/openbox/actions/movetoedge.c b/openbox/actions/movetoedge.c index 8a4044be..768783f2 100644 --- a/openbox/actions/movetoedge.c +++ b/openbox/actions/movetoedge.c @@ -13,7 +13,7 @@ static gpointer setup_func(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node); 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, @@ -67,9 +67,9 @@ static gboolean run_func(ObActionsData *data, gpointer options) 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); } }