Re: [PATCH xserver v2] xwayland: Clear up x_cursor on UnrealizeCursor()

2016-09-22 Thread Hans de Goede
Hi, On 09/22/2016 10:38 AM, Olivier Fourdan wrote: In Xwayland's xwl_unrealize_cursor(), the x_cursor is cleared up only when a device value is provided to the UnrealizeCursor() routine, but if the device is NULL as called from FreeCursor(), the corresponding x_cursor for the xwl_seat is left un

[PATCH xserver v2] xwayland: Clear up x_cursor on UnrealizeCursor()

2016-09-22 Thread Olivier Fourdan
In Xwayland's xwl_unrealize_cursor(), the x_cursor is cleared up only when a device value is provided to the UnrealizeCursor() routine, but if the device is NULL as called from FreeCursor(), the corresponding x_cursor for the xwl_seat is left untouched. This might cause a segfault when trying to a