compositor: Don't remove surface->link in weston_surface_unmap()
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 15 Jun 2012 18:56:34 +0000 (14:56 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 15 Jun 2012 19:40:51 +0000 (15:40 -0400)
commit54b1d2ca84db7e2ddd21c5c597dea5cd6c8f9286
treecbb10e38452eb561e4e739f54d7a04c853127a6b
parent80620076fc7650f09d2047b9c77071f304ee6097
compositor: Don't remove surface->link in weston_surface_unmap()

Expecting the link to be initialized breaks when compositor-drm.c
takes surfaces out of the list.  We could fix that to also
wl_list_init() the link, but we're moving to making the surface list
local to weston_output_repaint(), rebuilt in and only valid during
weston_output_repaint() so just don't touch it instead.
src/compositor.c