commit | 85f94f868fcd868f0f605e9d3c1ad6351c557190 | [log] [tgz] |
---|---|---|
author | Jan Kiszka <jan.kiszka@siemens.com> | Tue Jan 31 13:45:28 2012 +0100 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Wed Feb 01 14:45:02 2012 -0600 |
tree | 88aed5321893f9ad23192c9e8cf5a0da9f7799b9 | |
parent | 6659635619721f319be80e114a65c3386d9bf8a0 [diff] |
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>