[RFC weston] clients: Don't attach a buffer if mouse cursor surface is unchanged
daniel at fooishbar.org
Tue Jul 24 21:51:57 UTC 2018
On Tue, 24 Jul 2018 at 22:45, Derek Foreman
<derek.foreman.samsung at gmail.com> wrote:
> On 2018-07-22 05:55 AM, Daniel Stone wrote:
> > I take it the problem is that the client sets a particular surface as
> > the pointer surface, loses focus, sets the same surface as the pointer
> > surface on re-enter after not changing the content, and then the
> > content is never shown?
> That's my understanding of what I'm seeing, yes.
> Note that it only happens when the cursor can be placed in the cursor
> plane (ie: it's wayland_shm).
> The old cursor continues to be shown - if I move into an EFL client from
> the desktop, the desktop cursor arrow is sometimes unchanged.
> I do get a surface enter for my pointer surface, though.
> I'm reasonably confident the first time I saw this I would get no cursor
> at all on re-enter, but now I get the existing cursor. Though sometimes
> it updates to my client cursor, despite no damage or new buffer attach
> on the surface.
To be fair, this has changed a fair bit with atomic, so I'm not
surprised it's different in master. But I am a bit disappointed it's
not perfect yet. ;)
More information about the wayland-devel