| Summary: | SDL_WM_Grab Input(SDL_GRAB_ON) breaks SDL Mouse Motion events on Windows in SDL 1.2.14 | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Manuel Bilderbeek <manuel> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | major | ||
| Priority: | P2 | ||
| Version: | 1.2.14 | ||
| Hardware: | x86 | ||
| OS: | Windows (All) | ||
|
Description
Manuel Bilderbeek
2011-03-01 14:00:35 UTC
My friends confirm it is fixed with the snapshot of the new SDL 1.2. Can someone point me to the patch/commit/fix that resolved it? I'm not sure which patch fixed it, but you're welcome to use the SDL 1.2 snapshot in your game. Cheers! I do know which patch fixed it: this one: http://hg.libsdl.org/SDL/rev/07b330419439 We are now applying this patch to SDL 1.2.14 to fix the issue. See http://openmsx.svn.sourceforge.net/viewvc/openmsx/openmsx/trunk/build/3rdparty/SDL-1.2.14.diff?r1=11981&r2=11980&pathrev=11981 Do you think that is a smart thing to do? :) It should be fine. Is there any reason you don't want to just take the whole snapshot? Yes, we have a 3rd party system which automatically downloads, configures and compiles all dependencies to build a statically linked binary. That snapshot has no status and can be removed at any time. Which will then break the 'staticbindist' compilation. Also, we are on the virge of a release, so it would be a bit risky to upgrade one of the most important libraries we use on such short notice. Fair enough! :) Note that for some reason beyond my comprehension, applying that patch in combination from the patch Max mentioned in bug 956 has bad effects: the patch doesn't work. So, we removed that patch from bug 956 and only applied the one mentioned in this bug report. And it appears that that also fixed the issue mentioned in bug 956. Does that sound sane to you, Sam? (Just checking here...) Looking over it, I don't understand exactly why that would be, but the fix for this bug is a more comprehensive fix and could fix strangeness in other areas. I'll go ahead and mark that other bug fixed, thanks! |