diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2007-07-11 22:30:36 +0000 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@comhem.se> | 2007-07-11 22:30:36 +0000 |
| commit | 256c82a9f187842ac6d8823357ee91973c67148d (patch) | |
| tree | f70f1553fe44f75066a881ff9442774a607e273c /openbox | |
| parent | 1d685c0dfdc12ef3910bcd91edfeee13239e2344 (diff) | |
fix the remaining reversed actions_client_move
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/actions/addremovedesktop.c | 4 | ||||
| -rw-r--r-- | openbox/actions/growtoedge.c | 4 | ||||
| -rw-r--r-- | openbox/actions/resizerelative.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/openbox/actions/addremovedesktop.c b/openbox/actions/addremovedesktop.c index 6a646681..c8904d3c 100644 --- a/openbox/actions/addremovedesktop.c +++ b/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; } diff --git a/openbox/actions/growtoedge.c b/openbox/actions/growtoedge.c index b6979c93..fffcc4e0 100644 --- a/openbox/actions/growtoedge.c +++ b/openbox/actions/growtoedge.c @@ -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); } } } diff --git a/openbox/actions/resizerelative.c b/openbox/actions/resizerelative.c index 1aefb515..075c9e73 100644 --- a/openbox/actions/resizerelative.c +++ b/openbox/actions/resizerelative.c @@ -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; |
