compositor-drm: Remember to drop master in drm error handling
authorKristian Høgsberg <krh@bitplanet.net>
Mon, 18 Feb 2013 20:02:27 +0000 (15:02 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 19 Feb 2013 01:01:08 +0000 (20:01 -0500)
commit9a576c317241ab06118dadd570cf579bdca8c9b6
tree05c11b82de1c4bd07279d06c71412fe8ec2f805b
parent25846678a5b8d1637d9458e2c8ad8261d215b10f
compositor-drm: Remember to drop master in drm error handling

Otherwise we'll kill whatever other display sever we're switching back to.
The tricky thing here is that we never explicitly set drm master in the
startup path, we get that implicitly from being the first to open the
drm device.  Even so, we need to drop it before switching VTs.
src/compositor-drm.c