sdl: Do not grab mouse on mode switch while in background
commit6659635619721f319be80e114a65c3386d9bf8a0
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 31 Jan 2012 12:45:27 +0000 (31 13:45 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 1 Feb 2012 20:45:01 +0000 (1 14:45 -0600)
treef20593cfdca18249f77c33c635b5bd4d2f69c98b
parent25de59350606772a4df479f0f49721281091ec56
sdl: Do not grab mouse on mode switch while in background

When the mouse mode changes to absolute while the SDL windows is not in
focus, refrain from grabbing the input. It would steal from some other
window.

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