From e47f9204b9b9ca28b59fd9d92635dfe16fee67ec Mon Sep 17 00:00:00 2001 From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Tue, 4 Feb 2025 21:47:24 +0100 Subject: [PATCH] action.c: add SSD margin to MoveTo coordinates Fixes: #2469 --- src/action.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/action.c b/src/action.c index 86d72d6c..21ce7bfe 100644 --- a/src/action.c +++ b/src/action.c @@ -1084,7 +1084,8 @@ actions_run(struct view *activator, struct server *server, if (view) { int x = action_get_int(action, "x", 0); int y = action_get_int(action, "y", 0); - view_move(view, x, y); + struct border margin = ssd_thickness(view); + view_move(view, x + margin.left, y + margin.top); } break; case ACTION_TYPE_RESIZETO: