fix the remaining reversed actions_client_move
This commit is contained in:
parent
1d685c0dfd
commit
256c82a9f1
3 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue