Output: Correctly acquire/release DRM master
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 3 Dec 2011 15:39:06 +0000 (16:39 +0100)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 3 Dec 2011 15:39:06 +0000 (16:39 +0100)
commite195d911e1c965dd73686dfd0fa51ed4dd1204b7
tree14cbf1f13e5c2859878f296ed8a128ccf98b36d2
parent39b3cc1237d15639d7941571d07f5aac5899f77c
Output: Correctly acquire/release DRM master

If we switch VT, we must release DRM master to allow other applications to
access the DRM. When waking up the compositor we try to acquire the master again
to access the DRM.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/output.c