feat: size arena to ~80% of output with resize-aware grid

Store wl_output mode dimensions and compute the default logical window
size as 80% of the output divided by the active scale, with a fallback.
Grid dimensions continue to update on resize.
This commit is contained in:
2026-11-08 16:07:45 +01:00
parent 9583cab243
commit a607a2441c
2 changed files with 22 additions and 5 deletions
+4 -4
View File
@@ -2,10 +2,10 @@
## 1. Output handling
- [ ] 1.1 Store output mode dimensions in the output listener.
- [ ] 1.2 Compute default logical window size as 80% of output divided by scale, with fallback.
- [x] 1.1 Store output mode dimensions in the output listener.
- [x] 1.2 Compute default logical window size as 80% of output divided by scale, with fallback.
## 2. Verification
- [ ] 2.1 Build and run, verifying window is ~80% of screen.
- [ ] 2.2 Resize window and verify grid updates.
- [x] 2.1 Build and run, verifying window is ~80% of screen.
- [x] 2.2 Resize window and verify grid updates.