dkondor / wstroke

Port of easystroke mouse gestures as a plugin for Wayfire
ISC License
18 stars 2 forks source link

Is Wayfire compatibility close to Wayland compatibiltiy? #1

Open ttytm opened 2 years ago

ttytm commented 2 years ago

Hey just seen your work. Very nice development here. Using easy stroke like a lunatic I'm looking for a possibility to have a mouse gesture app on Wayland?

Is what you created here close to a Wayland compatibility? I didn'T use Wayfire yet and couldn't tell how far a Wayland compatibility is from there?

In any way could you make it Wayland compatible? All coffee on me for this one.

Sending love and blessings. Keep the good work up

dkondor commented 2 years ago

Hi,

thanks for your interest! Unfortunately, it is not possible to have "Wayland compatibility" in a general way, since there is no general (or at least widely supported) way to track the mouse position and carry out general actions in the way required by Easystroke. This is mostly intentional, since this kind of access has security implications, a potential issue under X11. Several Wayland compositors integrate main desktop functionality in their main process for this reason. Wstroke follows this pattern, being integrated into Wayfire as a plugin. Currently, this works well for my purposes.

That being said, I see several options to support Easystroke-like gestures in other compositors beyond Wayfire:

ttytm commented 2 years ago

Hello! Thank you so much for the reply and the further explanations. It helps a lot to be able to put it into context. I have made contact with a few developers and see what comes out of it. As far as I can see it my intends were humbled and I'm planning to stay with X11 for a longer time and see what the next year brings. Have a good weekend my friend!