| Summary: | windows event problem ! ( PeekMessage , TranslateMessage, DispatchMessage) | ||
|---|---|---|---|
| Product: | SDL | Reporter: | dot <dot.great> |
| Component: | events | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED WONTFIX | QA Contact: | Sam Lantinga <slouken> |
| Severity: | minor | ||
| Priority: | P2 | CC: | bombasticbryan, sezeroz |
| Version: | 1.2.13 | Keywords: | target-1.2.14 |
| Hardware: | x86 | ||
| OS: | Windows (All) | ||
Tagging this bug with "target-1.2.14" so we can try to resolve it for SDL 1.2.14. Please note that we may choose to resolve it as WONTFIX. This tag is largely so we have a comprehensive wishlist of bugs to examine for 1.2.14 (and so we can close bugs that we'll never fix, rather than have them live forever in Bugzilla). --ryan. SDL does it's own key event translation. What events are you losing? Taking bug. --ryan. Taking it back, since I'm looking at the code now. like IME event This is fixed for release, thanks! If you have a fix that doesn't reopen those bugs, please feel free to submit it. For now though, I'm marking this WONTFIX. Do you have similar issues in SDL 1.3? (In reply to comment #8) > If you have a fix that doesn't reopen those bugs, please feel free to submit > it. For now though, I'm marking this WONTFIX. > > Do you have similar issues in SDL 1.3? no... just one |
////////////////////////////////////////////////// source code filename SDL_sysevents.c SDL_dibevents.c SDL_dx5events.c //------------------------------------------ why not use TranslateMessage ? if use SDL_setenv("SDL_WINDOWID"); some windows event lost . //------------------------------------------ MSG msg; while ( PeekMessage(&msg, NULL, 0, 0, PM_REMOVE) ) { if ( msg.message == WM_QUIT ) break; =========> TranslateMessage( &msg ); // why not use this..?? some windows event lost. DispatchMessage( &msg ); } /////////////////////////////////////////////////////