drm: Cancel any scheduled repaints in the leave vt handler
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 18 Jan 2012 16:50:31 +0000 (11:50 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 18 Jan 2012 16:50:31 +0000 (11:50 -0500)
commit34f80ff8133e1be19c6e80a64b79aa3b5ed3592f
tree73e55099f546fbc3d6c3c825c5dc99e608c6e199
parent835cd497723d92cc4db80e934e5fc21698434ff5
drm: Cancel any scheduled repaints in the leave vt handler

If we don't cancel the repaint, we end up pointlessly redrawing the output.
What's worse is that pageflipping to the new buffer eventually fails and
we miss the finish_frame callback, leaving the compositor stuck when we
re-enter the vt.
src/compositor-drm.c
src/compositor.c