| Summary: | First mouse button input after a drag and drop event is ignored | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Olav Sørensen <olav.sorensen> |
| Component: | events | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | major | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | x86 | ||
| OS: | Windows 10 | ||
|
Description
Olav Sørensen
2016-10-14 12:42:34 UTC
I just found out that setting SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH to 1 fixes the problem, so it's definitely related to the SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH. Further investigation shows that the new SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH logic also causes this issue in other cases, like the first time you open the program and click the mouse. Fixed, thanks for reporting this! https://hg.libsdl.org/SDL/rev/bf0989bde198 |