From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Tue, 4 Feb 2025 20:47:24 +0000 (+0100) Subject: action.c: add SSD margin to MoveTo coordinates X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=e47f9204b9b9ca28b59fd9d92635dfe16fee67ec;p=proto%2Flabwc.git action.c: add SSD margin to MoveTo coordinates Fixes: #2469 --- 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: