fix the remaining reversed actions_client_move
Mikael Magnusson mikachu@comhem.se
3 files changed,
6 insertions(+),
6 deletions(-)
M
openbox/actions/addremovedesktop.c
→
openbox/actions/addremovedesktop.c
@@ -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; }
M
openbox/actions/growtoedge.c
→
openbox/actions/growtoedge.c
@@ -75,9 +75,9 @@ if (x != data->client->area.x || y != data->client->area.y ||
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); } } }
M
openbox/actions/resizerelative.c
→
openbox/actions/resizerelative.c
@@ -76,9 +76,9 @@ (xoff < 0 ? MAX(xoff, ow-nw) : MIN(xoff, ow-nw));
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;