nested: Remove the surface from the surface list when destroyed
authorNeil Roberts <neil@linux.intel.com>
Fri, 22 Nov 2013 15:41:53 +0000 (15:41 +0000)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 5 Dec 2013 00:34:07 +0000 (16:34 -0800)
commit8fbe3a68d4dbe17d1dea3c2f61f1cbddce6f8858
tree7b29d79e7930f3ff3aab611c60761b9669f53319
parentb7fd89192fec07a0c7b5e39c0151fc8f86d2eca5
nested: Remove the surface from the surface list when destroyed

Otherwise if the surface is destroyed then it will crash when it later
tries to render all of the surfaces. You can replicate this by doing
killall weston-nested-client while the example is running.
clients/nested.c