Re: [PATCH v2 1/6] compositor: set surface->plane from destroyed plane to NULL

2013-10-23 Thread Kristian Høgsberg
On Wed, Oct 23, 2013 at 01:58:31PM +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, butcursor_surface->plane > still point to destroyed plane. So once mouse move to this >

[PATCH v2 1/6] compositor: set surface->plane from destroyed plane to NULL

2013-10-22 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, butcursor_surface->plane still point to destroyed plane. So once mouse move to this cursor_surface and system will repaint this cursor_surface, segment fau