4014a6b05b
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.