Skip to content

wayland geometry fixes#17720

Merged
Dudemanguy merged 2 commits intompv-player:masterfrom
Dudemanguy:wayland-auto-resize-fix
Apr 10, 2026
Merged

wayland geometry fixes#17720
Dudemanguy merged 2 commits intompv-player:masterfrom
Dudemanguy:wayland-auto-resize-fix

Conversation

@Dudemanguy
Copy link
Copy Markdown
Member

No description provided.

We don't want to be using the coordinates from the compositor in this
case since it can't know that the new surface has a totally different
aspect ratio. Also remove the early return so that the state is always
updated regardless if it's determined we need to resize or not.

Fixes mpv-player#17710.
If the window is fullscreen or maximized and the user sets some geometry
or window scale, we should apply it when the state transitions back to
windowed mode. This was being missed and the surface local coordinates
were being used.
@Dudemanguy Dudemanguy merged commit 3e3048a into mpv-player:master Apr 10, 2026
50 of 51 checks passed
@Dudemanguy Dudemanguy deleted the wayland-auto-resize-fix branch April 10, 2026 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant