summaryrefslogtreecommitdiffstats
path: root/pc-bios
diff options
context:
space:
mode:
authorJan Kiszka2012-01-31 13:45:31 +0100
committerAnthony Liguori2012-02-01 21:45:02 +0100
commit02df4d6fb4dad5b82165fb603cc403256574cbf8 (patch)
tree8e1b1d6d83d7ca5e4ce75527475c27df4de4dffd /pc-bios
parentsdl: Grab input on end of non-absolute mouse click (diff)
downloadqemu-02df4d6fb4dad5b82165fb603cc403256574cbf8.tar.gz
qemu-02df4d6fb4dad5b82165fb603cc403256574cbf8.tar.xz
qemu-02df4d6fb4dad5b82165fb603cc403256574cbf8.zip
sdl: Limit sdl_grab_end in handle_activation to Windows hosts
There are scenarios on Linux with some SDL versions where handle_activation is continuous invoked with state = SDL_APPINPUTFOCUS and gain = 0 while we grabbed the input. This causes a ping-pong when we grab the input after an absolute mouse entered the window. As this sdl_grab_end was once introduced to work around a Windows-only issue (0294ffb9c8), limit it to that platform. CC: Erik Rull <erik.rull@rdsoftware.de> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'pc-bios')
0 files changed, 0 insertions, 0 deletions