Skip to content

Commit

Permalink
Fix sizing issue when inheriting on deck frame window.
Browse files Browse the repository at this point in the history
  • Loading branch information
wnayes committed Jan 14, 2024
1 parent 2958d53 commit 413f1c3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion apps/wm/wm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,13 @@ export async function createServer(): Promise<IWindowManagerServer> {

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 }));
Expand Down

0 comments on commit 413f1c3

Please sign in to comment.