fix(games): inset windows so dwm's native border stays on-screen

dwm adds a borderpx (1) border around every client, so a window sized to
fill the usable area (240x296) overflowed the 240x320 screen by 2px on the
right and bottom, clipping the native window border. Offset the requested
position by the border width and shrink by 3*borderpx so the framed window
exactly meets the screen edges with the native border fully visible.
This commit is contained in:
Luxferre
2026-10-23 19:06:31 +03:00
parent 313e137d87
commit 70ef9860be
6 changed files with 16 additions and 6 deletions
Binary file not shown.
Binary file not shown.