Skip to content

Conversation

@ids1024
Copy link
Member

@ids1024 ids1024 commented May 15, 2024

This is needed for implementing the wl_fixes protocol. It should also make it possible to handle the requirement in zwlr_output_configuration_v1::destroy to destroy the wlr_output_configuration_head.

Split off from #726. See Smithay/smithay#1428 and rust-windowing/softbuffer#218 for server-side and client-side uses of this.

Copy link
Member

@elinorbgr elinorbgr left a comment

Choose a reason for hiding this comment

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

On the high-level principle LGTM, but see my comments for the implementation.

Also, I think we should add some tests to the wayland-backend test module to cover these API. I'm thinking at least the two cases : trying to destroy the same object twice, and trying to send a message through an object after it has already been manually destroyed.

This is needed for implementing the `wl_fixes` protocol. It should also
make it possible to handle the requirement in
`zwlr_output_configuration_v1::destroy` to destroy the
`wlr_output_configuration_head`.
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