client-toolkit
client-toolkit copied to clipboard
Smithay's toolkit for writing wayland clients
https://wayland.freedesktop.org/docs/html/apa.html From version 7 onwards, the fd must be mapped with MAP_PRIVATE by the recipient, as MAP_SHARED may fail. Binding to version 7 seems to be the reason that simple_window...
This PR adds generic delegate macros to sctk. See https://github.com/wash2/client-toolkit/blob/master/examples/generic_list_seats.rs for an example. Blocked on https://github.com/Smithay/wayland-rs/pull/532.
cc @danieldg
This also adds some helpers for WindowConfigure to test if some state is set.
Before https://user-images.githubusercontent.com/34583604/180189421-e6dbf496-e0e9-492c-8f28-86e43c1d07a3.mp4 After https://user-images.githubusercontent.com/34583604/180189576-4fc906c2-639e-4320-b4ab-57292906ace9.mp4
Calling this a pool is misleading to be fair. Could restructure directories to represent that case. The buffer "pool" is a fixed size shm pool which backs a single wl_buffer.
Most clients implementing desktop semantics consistently rely on a few protocols: - xdg_shell - wl_seat - wl_compositor - wl_pointer (for CSD) It may be worth considering a sort of "super...