Watch
1
0
Fork
You've already forked smithay
0
smithay/smallvil
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ian Douglas Scott 0d14cd655f Add Dispatch2 and GlobalDispatch2, replacing delegate macros
A single `delegate_dispatch2!` replaces all other delegate macros.

When wayland-rs updates the definition of `Dispatch`, this macro will be
unnecessary, and `Dispatch` type bounds should become inferable by the
type system.

`Dispatch` is now implemented for the user-data type, so `smithay` is
able to provide blanket implementations as long as the user data is a
type owned by `smithay`. Therefore, `GlobalData` replaces `()` as a user
data (`smithay-client-toolkit` already did this), and udata that is
simply a type like `Weak<WlSurface>` is wrapped.
2026-04-30 16:13:15 +02:00
..
src Add Dispatch2 and GlobalDispatch2, replacing delegate macros 2026-04-30 16:13:15 +02:00
Cargo.toml Use 2024 Rust edition 2026-04-09 12:54:11 +02:00