31 lines
697 B
Markdown
31 lines
697 B
Markdown
|
|
# 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.
|