]> Dogcows Code - chaz/openbox/commitdiff
fix the remaining reversed actions_client_move
authorMikael Magnusson <mikachu@comhem.se>
Wed, 11 Jul 2007 22:30:36 +0000 (22:30 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Wed, 11 Jul 2007 22:30:36 +0000 (22:30 +0000)
openbox/actions/addremovedesktop.c
openbox/actions/growtoedge.c
openbox/actions/resizerelative.c

index 6a646681f10506c3b3e92ba2be9df40f9d1eed8e..c8904d3c18a61a33986a62083560424ae632de2c 100644 (file)
@@ -74,14 +74,14 @@ static gboolean run_func(ObActionsData *data, gpointer options)
 {
     Options *o = options;
 
-    actions_client_move(data, FALSE);
+    actions_client_move(data, TRUE);
 
     if (o->add)
         screen_add_desktop(o->current);
     else
         screen_remove_desktop(o->current);
 
-    actions_client_move(data, TRUE);
+    actions_client_move(data, FALSE);
 
     return FALSE;
 }
index b6979c93ae653c6552fade8652d5b1b90aafb5d2..fffcc4e0e199722f72ea2208e30061cb0a34807e 100644 (file)
@@ -75,9 +75,9 @@ static gboolean run_func(ObActionsData *data, gpointer options)
                 w != data->client->area.width ||
                 h != data->client->area.height)
             {
-                actions_client_move(data, FALSE);
-                client_move_resize(data->client, x, y, w, h);
                 actions_client_move(data, TRUE);
+                client_move_resize(data->client, x, y, w, h);
+                actions_client_move(data, FALSE);
             }
         }
     }
index 1aefb515d8363040321305c83acf3409beb67f20..075c9e7348dcf3088e642c5375c9962588506889 100644 (file)
@@ -76,9 +76,9 @@ static gboolean run_func(ObActionsData *data, gpointer options)
         yoff = yoff == 0 ? 0 :
             (yoff < 0 ? MAX(yoff, oh-nh) : MIN(yoff, oh-nh));
 
-        actions_client_move(data, FALSE);
-        client_move_resize(c, x + xoff, y + yoff, nw, nh);
         actions_client_move(data, TRUE);
+        client_move_resize(c, x + xoff, y + yoff, nw, nh);
+        actions_client_move(data, FALSE);
     }
 
     return FALSE;
This page took 0.023572 seconds and 4 git commands to generate.