oops
authorDana Jansens <danakj@orodu.net>
Wed, 11 Jul 2007 21:37:01 +0000 (21:37 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 11 Jul 2007 21:37:01 +0000 (21:37 +0000)
openbox/actions/movetoedge.c

index 38559a6..768783f 100644 (file)
@@ -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) {
 
         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);
             actions_client_move(data, TRUE);
+            client_move(data->client, x, y);
+            actions_client_move(data, FALSE);
         }
     }
 
         }
     }