OSDN Git Service

sdl: Consistently avoid grabbing input for text consoles
authorJan Kiszka <jan.kiszka@siemens.com>
Sat, 30 Jul 2011 09:39:12 +0000 (11:39 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 5 Aug 2011 15:57:35 +0000 (10:57 -0500)
commitf85581004c140c09936bc63f3744a287216aa76d
tree090fac890b79c0e86bfdd34a5eaf065338a750c9
parent110defd753906a01d01d0cabfb2d8db77b3271ef
sdl: Consistently avoid grabbing input for text consoles

There were some preexisting bits that released the input when switching
to text console. This patch spreads this logic consistently and also
avoids grabbing the input while a text console is active.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
ui/sdl.c