<div dir="ltr">"A blink in the highlighting"?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 1, 2014 at 3:32 PM, Bill Spitzak <span dir="ltr"><<a href="mailto:spitzak@gmail.com" target="_blank">spitzak@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 06/30/2014 09:50 PM, Peter Hutterer wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Yes this makes sense. Sorry I was confusing it with the X implementation<br>
where the Enter event replaced a Move event.<br>
</blockquote>
<br>
it does? it's actually one of the ambiguous parts of the X protocol.<br>
nothing prevents you from sending motion events for the same coordinates<br>
(indeed, we do so for subpixel motion). So whether you get a motion after an<br>
enter event is pretty much implementation-dependent. and if you check the<br>
implementation, we just slot the leave/enter events in before the motion<br>
event, without ever discarding it.<br>
</blockquote>
<br></div>
Actually the problem was with overlapping windows belonging to the same client, and this bug still exists in Wayland.<br>
<br>
When you move the mouse from one to another the client gets an Exit from the first, an Enter on the second, and then a Move (sometimes). The result is that after an Exit event I needed to look ahead for enter events to see if it entered an a different window belonging to me before the Exit can be properly handled, otherwise there may be a blink in the highlighting. This is rather annoying.<br>

<br>
A fix for Wayland would be to not send the Exit event if the Enter is going to the same client. Another method would be to send the Enter event first followed by the Exit.<div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org" target="_blank">wayland-devel@lists.<u></u>freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/wayland-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>  Jasper<br>
</div>