[PATCH xserver v2] xwayland: clear cursor frame callback

Rui Tiago Cação Matos tiagomatos at gmail.com
Tue Mar 7 13:30:12 UTC 2017


On Tue, Mar 7, 2017 at 10:28 AM, Olivier Fourdan <ofourdan at redhat.com> wrote:
> After an X cursor is unrealized, the seat's corresponding x_cursor is
> cleared, but if a frame callback was pending at the time, it will
> remain and thus prevent any further cursor update, leaving the window
> with no cursor.
>
> Make sure to destroy the frame callback, if any, when that occurs, so
> that next time a cursor needs to be set, it won't be ignored for a frame
> callback that will never be triggered.

Reviewed-by: Rui Matos <tiagomatos at gmail.com>


More information about the xorg-devel mailing list