Update compositor shutdown code
authorMatt Roper <matthew.d.roper@intel.com>
Mon, 29 Aug 2011 20:52:23 +0000 (13:52 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 29 Aug 2011 21:12:27 +0000 (17:12 -0400)
commit361d2ade0246f87a2cb67a9d0b5231b886bdd28a
tree5ca978c285d9c96a104e9aa1cdfce9d0bc214b89
parent045037e00590c2a9f3c85f23b5093241121c2f54
Update compositor shutdown code

Adds a general wlsc_compositor_shutdown() function that all output
backends call when shutting down.  wlsc_compositor_shutdown() will call
a new 'destroy' method of each output to perform backend-specific
cleanup (e.g., turning off the hardware cursor in the DRM compositor).

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
compositor/compositor-drm.c
compositor/compositor-openwfd.c
compositor/compositor-wayland.c
compositor/compositor-x11.c
compositor/compositor.c
compositor/compositor.h