We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 885

Summary: Events not relating to window focus only work on the second window in a 2 window environment
Product: SDL Reporter: Alistair Lowe <alistair.lowe>
Component: eventsAssignee: Sam Lantinga <slouken>
Status: RESOLVED DUPLICATE QA Contact: Sam Lantinga <slouken>
Severity: critical    
Priority: P2 CC: alistair.lowe
Version: HG 2.0   
Hardware: x86_64   
OS: Windows 7   

Description Alistair Lowe 2009-11-15 10:00:43 UTC
With two SDL windows open, whilst focus events such as SDL_WINDOWEVENT_FOCUS_GAINED can be received, events such as SDL_MOUSEBUTTONDOWN are only received for the second window, with click events etc seeming unable to reach the event queue. I have attempted to use SDL_RAISEWINDOW() when receiving focus events to ensure that a window is active to no avail.

This bug is preventing multi-window event handling.

Cheers
Comment 1 Sam Lantinga 2010-01-26 21:27:12 UTC

*** This bug has been marked as a duplicate of bug 879 ***