| Summary: | problem with creating multiple windows in SDL 1.3 | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Sam Lantinga <slouken> |
| Component: | events | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | critical | ||
| Priority: | P2 | CC: | alistair.lowe |
| Version: | HG 2.0 | ||
| Hardware: | All | ||
| OS: | Windows (All) | ||
|
Description
Sam Lantinga
2009-11-07 20:28:53 UTC
Ryan, this is a critical bug caused by the multi-mouse stuff. *** Bug 885 has been marked as a duplicate of this bug. *** Tested with this code:
if(event.type == SDL_MOUSEBUTTONDOWN && event.button.windowID == SDL_GetWindowID(window1))
{
if(window2){
SDL_DestroyWindow(window2);
window2 = NULL;
}
else{
loop_running = false;
break;
}
}
in my main loop. The first click closes the second window, the second click stops the main loop as expected.
This appears to be fixed; at least in Windows 7.
but of course that's probably due to the fact that you have already removed raw input for multiple mouse support.
Yep, the raw mouse API stuff is gone. |