compositor: Unlink unmapped surface instead of rebuilding surface list
authorKristian Høgsberg <krh@bitplanet.net>
Sun, 22 Sep 2013 04:26:05 +0000 (21:26 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Sun, 22 Sep 2013 04:26:05 +0000 (21:26 -0700)
commitb12e35617c21a8997788ccfbb0b8fe29d426da56
treeb66aa3e851c7310166b2efe4599fa9af975b88fa
parent1cf329bff1850e3132155e9d81ca278fdee40a89
compositor: Unlink unmapped surface instead of rebuilding surface list

When unmap and destroy a surface we need to make sure we don't pick it
before we rebuild the new surface list.  Currently we ensure this
by rebuilding the surface list when destroying a surface, but just
removing the surface should be enough.
src/compositor.c