<div dir="auto">Hi,<div dir="auto"><br></div><div dir="auto">From IRC conversations with krh a long time ago, this is indeed intentional and the cursor surface should "lose its role" in modern parlance. </div><div dir="auto"><br></div><div dir="auto">The original intention was to prevent glitching of the cursor surface. e.g. If the left side of the surface has a resize left cursor, you leave, and hover over the right, you don't want to see the resize left cursor for a split second before the resize right cursor appears. </div><div dir="auto"><br></div><div dir="auto">The original implementation of Weston respected this and would only change the cursor on set_cursor calls and would not even remember a per-client cursor surface. This behavior has probably been lost in numerous reactors by now. </div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jul 24, 2018, 2:52 PM Daniel Stone <<a href="mailto:daniel@fooishbar.org">daniel@fooishbar.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey,<br>
<br>
On Tue, 24 Jul 2018 at 22:45, Derek Foreman<br>
<<a href="mailto:derek.foreman.samsung@gmail.com" target="_blank" rel="noreferrer">derek.foreman.samsung@gmail.com</a>> wrote:<br>
> On 2018-07-22 05:55 AM, Daniel Stone wrote:<br>
> > I take it the problem is that the client sets a particular surface as<br>
> > the pointer surface, loses focus, sets the same surface as the pointer<br>
> > surface on re-enter after not changing the content, and then the<br>
> > content is never shown?<br>
><br>
> That's my understanding of what I'm seeing, yes.<br>
><br>
> Note that it only happens when the cursor can be placed in the cursor<br>
> plane (ie: it's wayland_shm).<br>
><br>
> The old cursor continues to be shown - if I move into an EFL client from<br>
> the desktop, the desktop cursor arrow is sometimes unchanged.<br>
><br>
> I do get a surface enter for my pointer surface, though.<br>
><br>
> I'm reasonably confident the first time I saw this I would get no cursor<br>
> at all on re-enter, but now I get the existing cursor.  Though sometimes<br>
> it updates to my client cursor, despite no damage or new buffer attach<br>
> on the surface.<br>
<br>
To be fair, this has changed a fair bit with atomic, so I'm not<br>
surprised it's different in master. But I am a bit disappointed it's<br>
not perfect yet. ;)<br>
<br>
Cheers,<br>
Daniel<br>
_______________________________________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">wayland-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/wayland-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
</blockquote></div>