Commit Graph

4 Commits

Author SHA1 Message Date
703a1ed228 event_loop: honour App::window_size_hint() on the first configure
Previously only `set_min_size()` was called with the requested size, on the assumption that the compositor would adopt it as the initial dimension. In practice that doesn't hold: xdg-shell has no "preferred initial size" primitive and compositors are free to pick any size within `[min, max]` on the first configure. The window ended up opening at the 800x600 fallback instead of the size the application had asked for.
The fix pins `min == max` before the first commit, which forces the compositor to honour the requested size in its first configure, and then releases `max_size` from the configure handler via the `pending_size_hint_unpin` latch so the surface remains user-resizable afterwards. The 800x600 fallback now only applies when the application does not provide a hint.
2026-05-10 23:16:17 +02:00
f3621b72c9 Added examples in README.md 2026-05-10 15:23:22 +02:00
bbab5e238d First commit. Version 0.1.0 2026-05-10 09:58:23 +02:00
af105b7f7d Initial commit 2026-04-23 11:08:43 +02:00