compositor: Clean up view output move and destroy listeners
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Thu, 19 Dec 2013 16:34:28 +0000 (18:34 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 20 Dec 2013 05:52:09 +0000 (21:52 -0800)
commit24dff2b704a1cbf70b2785561934b83486c7f8fb
tree700f040fe3c7da26c6e512da99c5f38fdfaf9927
parentd4ea71eada760c049cb92af05ebe47c1c81162d0
compositor: Clean up view output move and destroy listeners

Remove those listeners when the output is destroyed, otherwise they'll
point to invalid data that may lead to corruption when assigning a new
output for the view.

--
This is possibly related to bug 72845. I didn't have enough equipment
to try and reproduce it.

https://bugs.freedesktop.org/show_bug.cgi?id=72845
src/compositor.c