compositor: Remove output from list in weston_output_destroy()
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Fri, 13 Dec 2013 20:10:50 +0000 (22:10 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 17 Dec 2013 00:19:46 +0000 (16:19 -0800)
commitf749fc37820ff7339d623b628b5b425f2205d68e
tree748a5e03155ed12d4ca4cf6bdf0c27eafe58e856
parentf54fa4db2b57f1e5543c2277721fc80453aa0351
compositor: Remove output from list in weston_output_destroy()

When destroying ouputs, they would sometimes be removed before the call
to weston_output_destory() and sometimes after, depending on the
backend. Now the output is remove withing that function so the behavior
is standard across all backends.
src/compositor-drm.c
src/compositor-fbdev.c
src/compositor-rpi.c
src/compositor-x11.c
src/compositor.c