docs: add arena-size OpenSpec change

Plan output-aware arena sizing (~80% of screen) with fallback and resize.
This commit is contained in:
2026-11-08 16:05:14 +01:00
parent 3666c64aee
commit 9583cab243
5 changed files with 113 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
# Design
## Context
Output is already bound and a listener exists, but mode dimensions are ignored. See proposal.md.
## Goals / Non-Goals
**Goals:**
- Store output mode width/height.
- Compute default logical size = 0.8 * mode / scale.
- Keep grid resize/preserve behavior.
**Non-Goals:**
- Fullscreen mode.
- Dynamic output hotplug handling beyond first output.
## Decisions
### D1: Output mode storage
- Store `output_width`, `output_height` from `wl_output.mode`.
### D2: Default size computation
- After roundtrip, if output info available, set logical size; else fallback 1024x576.
### D3: Fallback
- 1024x576 logical (~80% of 1280x720) when no output info.
## Open Questions
None.