X Tutup
Skip to content

Wayland: Fix accidental copy during global remove#113946

Merged
akien-mga merged 1 commit intogodotengine:masterfrom
deralmas:wl-misc-fixes/mfw-mutating-a-copy
Dec 16, 2025
Merged

Wayland: Fix accidental copy during global remove#113946
akien-mga merged 1 commit intogodotengine:masterfrom
deralmas:wl-misc-fixes/mfw-mutating-a-copy

Conversation

@deralmas
Copy link
Contributor

We were accidentally mutating a copy during cleanup of the viewporter and fractional scale manager.

Thank you Aaron Franke for finding this out :D


FTR, this hasn't been a problem for now as no major compositor removes these globals in realtime, but nothing stops a compositor from doing that. In general I plan to test and improve the global handling logic much more, but that will require quite a bit of work. My experience with the embedder might come in handy for this.

Cherry-pickable to 4.5.

We were accidentally mutating a copy during cleanup of the viewporter
and fractional scale manager.

Thank you Aaron Franke for finding this out :D
@bruvzg bruvzg added the cherrypick:4.5 Considered for cherry-picking into a future 4.5.x release label Dec 16, 2025
@akien-mga akien-mga merged commit d84a8a6 into godotengine:master Dec 16, 2025
20 checks passed
@akien-mga
Copy link
Member

Thanks!

@akien-mga
Copy link
Member

Cherry-picked for 4.5.2.

@akien-mga akien-mga removed the cherrypick:4.5 Considered for cherry-picking into a future 4.5.x release label Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

X Tutup