| Summary: | Events stop working for 1st window when 2nd is created | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Pavel Kanzelsberger <kanzels> |
| Component: | events | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | critical | ||
| Priority: | P2 | CC: | jspradlin |
| Version: | HG 2.0 | ||
| Hardware: | x86 | ||
| OS: | Windows 7 | ||
|
Description
Pavel Kanzelsberger
2010-05-06 14:08:05 UTC
I believe this is fixed in the latest SDL 1.3 snapshot: http://www.libsdl.org/tmp/SDL-1.3.zip Can you check it out? Thanks! I tested with this:
if(event.type == SDL_MOUSEBUTTONDOWN && event.button.windowID == SDL_GetWindowID(window1))
{
loop_running = false;
break;
}
in my event loop (i create a window2 immediately after window1)
The loop quits, so this appears to be fixed.
I am also running Windows 7.
Thanks! |