Files
Velix-MPV-Core/video/out
Andrew Rabert 45324ce682 wayland: parse toplevel states before geometry_configured check
Fix toplevel state being lost before geometry_configured is
configured. Previously, for a KWin rule that set fullscreen (apply
initially or forced) when a --geometry was also specified, mpv would
render at --geometry size even though the compositor was treating it as
fullscreen. This resulted in geometry-sized content anchored to the
top-right without a titlebar. This mismatch of what mpv thinks and what
actually is can also be seen similarly with a KWin rule that sets a
maximize state.

With this change, mpv starts in fullscreen _proper_ (ie --fullscreen).
Exiting fullscreen then results in a window size as specified by the
--geometry.

For the other states this handles, I'm honestly not sure as I wasn't
able to force them. It _should_ be fine based on what I see here and
_logically_ is correct as mpv's state should always match what the
compositor informs it to be.
2026-04-25 04:47:32 +00:00
..
2025-08-05 03:10:33 +02:00
2025-08-05 03:10:33 +02:00
…
2025-03-04 20:07:29 +01:00
2025-03-04 20:07:29 +01:00
…
2025-03-04 20:07:29 +01:00
2025-03-04 20:07:29 +01:00
2025-03-04 20:07:29 +01:00
2026-04-20 21:52:52 +02:00
…
2025-03-04 20:07:29 +01:00
2026-03-30 00:34:31 +00:00
…
2025-04-27 00:10:31 +02:00