<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 30, 2015 at 4:03 PM, Peter Hutterer <span dir="ltr"><<a href="mailto:peter.hutterer@who-t.net" target="_blank">peter.hutterer@who-t.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Jul 30, 2015 at 12:43:29PM -0700, Bill Spitzak wrote:<br>
> Okay then, but that brings me back to my original question:<br>
><br>
> If a client does not ask for a particular gesture (by not creating the<br>
> protocol object that delivers that gesture's events), and the user makes<br>
> that gesture, does the client get anything?<br>
><br>
> I was trying to solve a huge problem that will make everybody hate wayland<br>
> if the answer is "no", however perhaps you do have a solution to this?<br>
<br>
</span>are you really saying that everybody* will hate wayland because a client may<br>
not react to a pinch-to-zoom gesture?<br></blockquote><div><br></div><div>Only people who the bug effects, you are right.<br><br>It appears from other email that several people are aware of the problem and have some other ideas about how to fix it. This is the discussion of whether a device should implement swipe gestures when pinch does not work, which then brought up the point that gestures a user learns on a swipe-only device can break if the pinch feature is added. The last email I saw proposed that swipe not work unless pinch does, but that is a bad idea.<br><br></div><div>I'm thinking a solution would be to allow the driver to recognize a "new" gesture (pinch in this case) but still check for the "old" one (swipe). It can then "cancel" the pinch if it decides a swipe is better, rather than have the swipe disappear just because it started out looking like the pinch. This is quite likely a better solution than merging all gestures into a single event type.<br><br></div><div>It looks like "cancelled" is only a feature of the wayland client api, but it seems like it would be easy to add to libinput.<br><br></div><div><br></div></div></div></div>