Files
peachwm/.omo/evidence/task-1-wlr-fractional-scale-manager-v1.txt
T
huntedbytheirs 8b91bc939c feat(client): add current_scale field to Client and LayerSurface structs
- Add float current_scale to Client struct (HOT section, after corner_radius)
- Add float current_scale to LayerSurface struct (HOT section, after mapped)
- Add config scale range validation [0.25, 4.0] with fprintf warnings
2026-07-05 21:32:22 -04:00

15 lines
562 B
Plaintext

Task: 1. Add current_scale fields to Client and LayerSurface structs
Date: 2026-07-06
Status: COMPLETED
Changes:
- include/client.h:49 — float current_scale; added to Client struct (HOT section, after corner_radius)
- include/client.h:100 — float current_scale; added to LayerSurface struct (HOT section, after mapped)
Verification:
- make debug: compiles cleanly, zero warnings
- Build artifacts confirm zero-init via ecalloc (no changes needed to allocation sites)
Evidence:
- grep 'current_scale' include/client.h → 2 matches (Client + LayerSurface)