Skip to content

WIP Dispatch API changes in new wayland-rs #2017

Draft
ids1024 wants to merge 1 commit intoSmithay:masterfrom
ids1024:wayland-update
Draft

WIP Dispatch API changes in new wayland-rs #2017
ids1024 wants to merge 1 commit intoSmithay:masterfrom
ids1024:wayland-update

Conversation

@ids1024
Copy link
Copy Markdown
Member

@ids1024 ids1024 commented Apr 29, 2026

Description

Based on #2008.

Beyond what that PR does, this also allows the availablility of Dispatch implementations to be inferred usually by just the *Handler trait for the protocol. Though it looks like Rust still can't infer bounds like <D as SeatHandler>::KeyboardFocus: WaylandFocus from placing them on the trait (eventually it should?).

Uses Smithay/wayland-rs#902.

Checklist

Based on Smithay#2008.

Beyond what that PR does, this also allows the availablility of
`Dispatch` implementations to be inferred usually by just the `*Handler`
trait for the protocol. Though it looks like Rust still can't infer
bounds like `<D as SeatHandler>::KeyboardFocus: WaylandFocus` from
placing them on the trait (*eventually* it should?).

Uses Smithay/wayland-rs#902.
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.

1 participant