diff options
| author | aura <nw@moneybot.cc> | 2026-10-02 00:29:58 +0200 |
|---|---|---|
| committer | aura <nw@moneybot.cc> | 2026-10-02 00:29:58 +0200 |
| commit | fc25ef5568291528f6e1c3463b3b142139eb8e8d (patch) | |
| tree | f8df598fb171bf30c0939244372c487d0e017961 /openbox/actions/movetoedge.c | |
| parent | 87e8271068ea3bccf1daf4e7e4b3667379c054bf (diff) | |
Diffstat (limited to 'openbox/actions/movetoedge.c')
| -rw-r--r-- | openbox/actions/movetoedge.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/openbox/actions/movetoedge.c b/openbox/actions/movetoedge.c index ef5b6920..d72f446b 100644 --- a/openbox/actions/movetoedge.c +++ b/openbox/actions/movetoedge.c @@ -1,4 +1,5 @@ #include "openbox/actions.h" +#include "openbox/tiling.h" #include "openbox/misc.h" #include "openbox/client.h" #include "openbox/frame.h" @@ -70,11 +71,11 @@ static gboolean run_func(ObActionsData *data, gpointer options) gint x, 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, TRUE); + actions_client_move(data, TRUE); + if (x != data->client->area.x || y != data->client->area.y) client_move(data->client, x, y); - actions_client_move(data, FALSE); - } + tiling_action_moved(data->client); + actions_client_move(data, FALSE); } return FALSE; @@ -108,4 +109,3 @@ static gpointer setup_west_func(xmlNodePtr node) o->dir = OB_DIRECTION_WEST; return o; } - |
