tty: Leave tty in KD_GRAPHICS mode during vt switches
authorKristian Høgsberg <krh@bitplanet.net>
Sun, 15 Jan 2012 20:17:58 +0000 (15:17 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Sun, 15 Jan 2012 20:25:06 +0000 (15:25 -0500)
commit92734c567382633f81c3f7c30044ef292a4ead03
tree6eb06c85adfc2a1df18a44b4376616126603e424
parentc5b9ddb610611d236acde27c9d017bd92c5be52e
tty: Leave tty in KD_GRAPHICS mode during vt switches

Part of the point of KD_GRAPHICS mode is that the kernel doesn't try
to restore the VT contents when we switch bach, but leaves that
to the user mode process.  This avoids ugly flicker of text mode contents
before the compositor takes over.
src/tty.c