Skip to content

wayland: Add support for wl_fixes.ack_global_remove#15203

Draft
zzag wants to merge 1 commit intolibsdl-org:mainfrom
zzag:ack-global-remove
Draft

wayland: Add support for wl_fixes.ack_global_remove#15203
zzag wants to merge 1 commit intolibsdl-org:mainfrom
zzag:ack-global-remove

Conversation

@zzag
Copy link

@zzag zzag commented Mar 13, 2026

The wl_fixes.ack_global_remove request signals the compositor that the client will not bind the removed global. It can be used by the compositor to decide when it is safe to actually destroy the corresponding global. If a global is destroyed too soon, some clients may get disconnected.

See also https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/533

@zzag zzag force-pushed the ack-global-remove branch from 2e67d9b to aa465a2 Compare March 13, 2026 20:44
@Kontrabant Kontrabant self-assigned this Mar 13, 2026
@Kontrabant
Copy link
Contributor

Fixed the build, and added a call to wl_fixes_ack_global_remove() when removing outputs and seats.

@zzag
Copy link
Author

zzag commented Mar 13, 2026

Oh I missed that one. Thanks!

The wl_fixes.ack_global_remove request signals the compositor that the
client will not bind the removed global. It can be used by the
compositor to decide when it is safe to actually destroy the
corresponding global. If a global is destroyed too soon, some clients may
get disconnected.

See also https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/533
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