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:
@@ -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.
|
||||
Reference in New Issue
Block a user