State engine applies bread.hyprland.* and snapshots compositor topology
All checks were successful
dev release / build (push) Successful in 1m29s

Match both legacy and namespaced Hyprland events so flipping
legacy_hyprland_event_names no longer freezes monitors/workspace/window.
On event-socket connect, query socket1 and emit bread.hyprland.snapshot
to populate RuntimeState (including workspaces). API 1.7.1.
Track AGENTS.md instead of gitignored CLAUDE.md.
This commit is contained in:
Breadway 2026-08-15 22:03:30 +08:00
parent d3517d1433
commit 6063eb901c
8 changed files with 348 additions and 52 deletions

View file

@ -23,7 +23,9 @@ compositor backend — see `Documentation.md`'s
**Current behavior:** both names fire by default (`[compat]
legacy_hyprland_event_names = true`). Setting that flag to `false` suppresses
the legacy names; only `bread.hyprland.*` fires.
the legacy names; only `bread.hyprland.*` fires. The state engine applies
*both* names (since v1.7.1), so disabling the legacy emit no longer freezes
`bread.state` monitors / active workspace / active window.
**Deferred follow-up (not yet scheduled):**