diff options
| author | Jan Kiszka | 2012-01-31 13:45:28 +0100 |
|---|---|---|
| committer | Anthony Liguori | 2012-02-01 21:45:02 +0100 |
| commit | 85f94f868fcd868f0f605e9d3c1ad6351c557190 (patch) | |
| tree | 88aed5321893f9ad23192c9e8cf5a0da9f7799b9 /coroutine-ucontext.c | |
| parent | sdl: Do not grab mouse on mode switch while in background (diff) | |
| download | qemu-85f94f868fcd868f0f605e9d3c1ad6351c557190.tar.gz qemu-85f94f868fcd868f0f605e9d3c1ad6351c557190.tar.xz qemu-85f94f868fcd868f0f605e9d3c1ad6351c557190.zip | |
sdl: Fix block prevention of SDL_WM_GrabInput
Consistently check for SDL_APPINPUTFOCUS before trying to grab the input
focus. Just checking for SDL_APPACTIVE doesn't work. Moving the check to
sdl_grab_start allows for some consolidation.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'coroutine-ucontext.c')
0 files changed, 0 insertions, 0 deletions
