Skip to content

Conversation

ids1024
Copy link
Member

@ids1024 ids1024 commented May 11, 2024

In addition to copying the protocol changes from https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/388, this required two things:

  • Modifies wayland-scanner to generate a WlRegistry type server-side. Instead of trying to make it produce a valid parse_request to handle the special case of the bind request, it just uses unimplemented!.
  • Adds a destroy_object method to destroy the object
    • Not sure if this is entirely correct as implemented.

See Smithay/smithay#1428 for server-side use of this.

@ids1024
Copy link
Member Author

ids1024 commented May 16, 2024

I guess the server should also remove the registry from known_registries (looks like currently elements are only removed their when the client is gone.) Not sure if there's anything else that might need to be removed anywhere on registry destruction.

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`.
This is now upstream; but waiting for release.
Needed for `wl_fixes` bindings.
@dcz-self
Copy link

dcz-self commented Jul 5, 2025

This would unblock using the v10 wl_keyboard additions even if wl_fixes doesn't work correctly. I can offer some testing.

@dcz-self
Copy link

dcz-self commented Jul 6, 2025

Version 1.24 has just been released. Is there any way I can help make this happen?

@ids1024
Copy link
Member Author

ids1024 commented Jul 7, 2025

The wayland.xml update can just be merged now. I guess then we'd want #727, which I think is correct but @elinorbgr wanted some tests for (which definitely is a good idea; but I haven't gotten around to doing it).

Then I have to remember if there was anything else still needed here... I did add a commit to update known_registries, so I think as far as I'm aware the changes here are good.

@dcz-self
Copy link

dcz-self commented Jul 9, 2025

I added some tests: #826

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