Re: [PATCH 1/6] srccompositor.c: set surface->plane from destroyed plane to NULL

2013-10-21 Thread Kristian Høgsberg
On Thu, Oct 17, 2013 at 10:10:48AM +0800, Xiong Zhang wrote: > In drm backend, the cursor_surface->plane point to drm_output->cursor_plane. > when this output is removed, drm_output->cursor_plane is destroyed, but > cursor_surface->plane still point to destroyed plane. So once mouse move to > this

[PATCH 1/6] srccompositor.c: set surface->plane from destroyed plane to NULL

2013-10-16 Thread Xiong Zhang
In drm backend, the cursor_surface->plane point to drm_output->cursor_plane. when this output is removed, drm_output->cursor_plane is destroyed, but cursor_surface->plane still point to destroyed plane. So once mouse move to this cursor_surface and system will repaint this cursor_surface, segment f