Skip to content

WIP: Dispatch API simplification#902

Draft
ids1024 wants to merge 9 commits intomasterfrom
dispatch
Draft

WIP: Dispatch API simplification#902
ids1024 wants to merge 9 commits intomasterfrom
dispatch

Conversation

@ids1024
Copy link
Copy Markdown
Member

@ids1024 ids1024 commented Apr 28, 2026

ids1024 added 8 commits April 29, 2026 11:34
or is it better to have the delegate macro, with a udata arg? may be
more useful for starting with noop then adding impl.
ids1024 added a commit to ids1024/smithay that referenced this pull request Apr 30, 2026
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant