drm: Remove input devices before cancelling repaints in vt switch away
authorKristian Høgsberg <krh@bitplanet.net>
Tue, 10 Apr 2012 04:08:45 +0000 (00:08 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 10 Apr 2012 04:08:47 +0000 (00:08 -0400)
commit4014a6b05bfda06d2f5e55d9408012f14032f7c9
tree0792e24b2372b025b5b372f4e55d33db5bb88282
parente5cf7416695c2e9454d025df63dbaa2fb6d4e4c9
drm: Remove input devices before cancelling repaints in vt switch away

Removing the input devices will trigger events and activity that will cause
a redraw.  Do this before we put the compositor to sleep so we can cancel it
properly and avoid immediately waking the compositor again.
src/compositor-drm.c