<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 13, 2014 at 5:46 AM, Stanislav Vorobiov <span dir="ltr"><<a href="mailto:s.vorobiov@samsung.com" target="_blank">s.vorobiov@samsung.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Recently I've sent patches to ML that implement just that, see -<br>
<a href="http://lists.freedesktop.org/archives/wayland-devel/2014-May/014602.html" target="_blank">http://lists.freedesktop.org/archives/wayland-devel/2014-May/014602.html</a><br>
I got no comments on them though...<br></blockquote><div><br></div><div>Yes, these kind of have to be developed side-by-side. Now would be a good time for you to test/review/comment on each other's patches. Now that 1.5 is almost out, we should be able to land more invasive changes.<br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
On 05/13/2014 02:14 PM, Boyan Ding wrote:<br>
> Hi Jason,<br>
><br>
> In writing v2 of the patches I found out frame_touch_motion<br>
> isn't that easy as it seems. For there's something tricky.<br>
><br>
> Without frame_touch_motion the code actually works all right - finger<br>
> down on a button presses the button and finger up releases it,<br>
> regardless of where the finger has gone.<br>
><br>
> However, if frame_touch_motion is implemented, I think the<br>
> behavior might be changed to this - finger down presses<br>
> the button; once the finger leave the button, the press should be<br>
> cancelled and if the finger enters the region of another button we'll<br>
> just act as if we "hover" above the button.<br></div></div></blockquote><div><br></div><div>Yes, that seems perfectly reasonable.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">
><br>
> If it is implemented like that, we'll have to change the<br>
> frame_touch structure to add a field that keep track of which<br>
> button we hover on, just like hover_button in frame_pointer.<br>
><br>
> I'll also add a frame_touch_cancel function, it seems not<br>
> that hard. Just scan the list of touches and take appropriate<br>
> actions (cancel button, destroy touch) will do.<br></div></div></blockquote><div><br></div><div>Yup, that should be easy.<br></div><div> <br></div><div>Hope that helps,<br></div><div>--Jason Ekstrand<br><br><br></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
><br>
> I wonder whether my ideas are appropriate.<br>
><br>
> Regards,<br>
> Boyan Ding<br>
><br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> _______________________________________________<br>
> wayland-devel mailing list<br>
> <a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
><br>
<br>
</div></div></blockquote></div><br></div></div>