From fc25ef5568291528f6e1c3463b3b142139eb8e8d Mon Sep 17 00:00:00 2001 From: aura Date: Fri, 2 Oct 2026 00:29:58 +0200 Subject: add tiling --- openbox/actions/movetoedge.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'openbox/actions/movetoedge.c') 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; } - -- cgit v1.2.3