client-toolkit icon indicating copy to clipboard operation
client-toolkit copied to clipboard

Make Cursor/Frame support an optional feature

Open hesiod opened this issue 4 years ago • 0 comments

I'm working on an overlay (using layer shell) that does not require any mouse input or window decoration. For that use case, the cursor support in Smithay's client toolkit is superfluous. I know that wayland-cursor/xcursor is not a huge dependency, but I'd like to optimize my dependency chain a bit and it would be nice if I could trim Smithay's client toolkit down a bit. I've pushed a Proof-of-Concept version of a cursor feature here: https://github.com/hesiod/client-toolkit/tree/optional_cursor I explicitly didn't create a PR since my version is rather rough - I essentially sprinkled #[cfg(feature = "cursor")] all over the place.

hesiod avatar Oct 14 '21 22:10 hesiod