From 413f1c3591253d0ef976d80d67ffd5f9cab165e6 Mon Sep 17 00:00:00 2001 From: Will Nayes Date: Sun, 14 Jan 2024 14:34:22 -0600 Subject: [PATCH] Fix sizing issue when inheriting on deck frame window. --- apps/wm/wm.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/wm/wm.ts b/apps/wm/wm.ts index 005e3f2..083d094 100644 --- a/apps/wm/wm.ts +++ b/apps/wm/wm.ts @@ -901,7 +901,13 @@ export async function createServer(): Promise { X.UngrabServer(); - X.ConfigureWindow(fid, { borderWidth: 0, x: frameX, y: frameY }); + X.ConfigureWindow(fid, { + borderWidth: 0, + x: frameX, + y: frameY, + width: win.outer.width, + height: win.outer.height, + }); X.ConfigureWindow(wid, { borderWidth: 0 }); store.dispatch(addWindowAction({ wid, ...win }));