From b4d52498dac992a0a1e0b059c3f6a88b04ab3f0e Mon Sep 17 00:00:00 2001 From: MeexReay Date: Fri, 23 May 2025 23:23:35 +0300 Subject: [PATCH] fix window borders --- app/mxwm/startz.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/mxwm/startz.js b/app/mxwm/startz.js index ac9c225..072eb31 100644 --- a/app/mxwm/startz.js +++ b/app/mxwm/startz.js @@ -18,8 +18,8 @@ async function drawWindowDecorations(ctx, x, y, width, height, title) { const buttonRadius = 6; const buttonSpacing = 8; - const outerX = x - borderWidth; - const outerY = y - headerHeight - borderWidth; + const outerX = x - borderWidth - 1; + const outerY = y - headerHeight - borderWidth - 1; const outerWidth = width + borderWidth * 2; const outerHeight = height + headerHeight + borderWidth * 2;