[PATCH weston v2 3/5] compositor: Emit wl_pointer_gesture_* events on libinput gesture events

Bill Spitzak spitzak at gmail.com
Wed Jul 29 10:38:11 PDT 2015


On Tue, Jul 28, 2015 at 11:59 PM, Jonas Ã…dahl <jadahl at gmail.com> wrote:

> On Thu, Jul 23, 2015 at 07:00:29PM +0200, Carlos Garnacho wrote:
> > The translation is fairly straightforward so far, it would be convenient
> > if gestures went through the pointer grab interface, but this is not done
> > at the moment.
>

This will send the events to the pointer-grab, it's just that they don't
cause a grab. I would argue that fixing this is much more than just
"convenient", it is pretty vital if there is more than one client.

This seems to be producing a lot of redundant code. Could the client api be
more like "here is a libinput gesture event"? Then wayland would not have
to be updated with every new gesture event. And in many cases the client
will be much easier to write if there is a single called function and the
gesture is identified by an enumeration.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20150729/66e4bf92/attachment.html>


More information about the wayland-devel mailing list