Skip to content

wayland: handle null output in wl_surface.enter event - #18346

Merged
Dudemanguy merged 1 commit into
mpv-player:masterfrom
llyyr:fix/wayland-null-output
Aug 10, 2026
Merged

Dudemanguy merged 1 commit into
mpv-player:masterfrom
llyyr:fix/wayland-null-output

Conversation

@llyyr

@llyyr llyyr commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

@Dudemanguy

Copy link
Copy Markdown
Member

I think set_surface_scaling also needs this check.

@llyyr

llyyr commented Aug 10, 2026 •

Copy link
Copy Markdown
Contributor Author

All callers of set_surface_scaling already check current_output. Added a check though

edit: never mind actually, scale_configured also implies this

@llyyr
llyyr force-pushed the fix/wayland-null-output branch from 1cfa888 to ea4d5c5 Compare August 10, 2026 00:37
@llyyr
llyyr force-pushed the fix/wayland-null-output branch from ea4d5c5 to bd78f88 Compare August 10, 2026 00:39

@Dudemanguy Dudemanguy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair enough.

@Dudemanguy
Dudemanguy merged commit f4d13e1 into mpv-player:master Aug 10, 2026
30 of 33 checks passed
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.

2 participants