sdl: Don't release input on mouse mode change in full-screen mode
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 22 Aug 2011 16:42:42 +0000 (18:42 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 22 Aug 2011 19:37:04 +0000 (14:37 -0500)
commitf8b8d633f68ac97b7d3e5d6cecbbac96769f0cfb
tree60d1b10bf2a98442da4df073110314883fbb33e9
parentfa7d1867578b6a1afc39d4ece8629a1e92baddd7
sdl: Don't release input on mouse mode change in full-screen mode

While in full-screen mode, the input focus naturally belongs to the SDL
window. Avoid dropping it when switching from absolute to relative
mouse mode.

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