Skip to content

WIP Dispatch, WEnum API changes in new wayland-rs #2017

Draft
ids1024 wants to merge 5 commits into
Smithay:masterfrom
ids1024:wayland-update
Draft

WIP Dispatch, WEnum API changes in new wayland-rs #2017
ids1024 wants to merge 5 commits into
Smithay:masterfrom
ids1024:wayland-update

Conversation

@ids1024

@ids1024 ids1024 commented Apr 29, 2026

Copy link
Copy Markdown
Member

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

@ids1024 ids1024 force-pushed the wayland-update branch 2 times, most recently from b3948f7 to 1073bad Compare May 20, 2026 16:07
@ids1024 ids1024 changed the title WIP Dispatch API changes in new wayland-rs WIP Dispatch, WEnum API changes in new wayland-rs May 20, 2026
ids1024 added 4 commits June 17, 2026 11:13
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.
disable `backend_winit` for now
Need to clean up pointer casts/unwraps
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