Cloudef / wlc

High-level Wayland compositor library
MIT License
330 stars 58 forks source link

Added handling of libinput gesture events #143

Closed Hummer12007 closed 7 years ago

Hummer12007 commented 8 years ago

This PR adds handling of libinput gesture events with API for gesture.swipe and gesture.pinch.

Cloudef commented 8 years ago

This looks good so far. But is missing the actual handling of the touch signals in compositor/seat.c. I think I've implemented everything that can be passed to wl programs, but maybe the protocol has been updated since. If the programs can't catch these and are mainly meant for compositor to be read the bool return value doesn't really make sense as the input won't go to client anyways.

Hummer12007 commented 8 years ago

There's https://cgit.freedesktop.org/wayland/wayland-protocols/tree/unstable/pointer-gestures. I'm working on it. Will push it in coming days.

UPD: Oh, it's not shipped yet. Closing it until then.

colltoaction commented 8 years ago

@Hummer12007 any updates?? can I be of any help?

Hummer12007 commented 8 years ago

Oh, that reminds me. I'll take a look at during the week.

johan-bjareholt commented 7 years ago

Any updates?

Hummer12007 commented 7 years ago

I've forgot about it before, but it's probably over now (as sway is looking towards migrating off wlc).