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 976 - Windows: mouse focus problem
Summary: Windows: mouse focus problem
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: HG 2.0
Hardware: All Windows (All)
: P2 major
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-27 09:49 UTC by Mike
Modified: 2011-01-21 13:02 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike 2010-03-27 09:49:40 UTC
The behavior described below reveals only on win32 platform, and that makes me think that something is wrong:

Consider two windows:
1) SDL window
2) Explorer window (or any other application)

If window #2 (is focused) is above  window #1 (which is SDL's window), window #1 receives all mouse messages of window #2.
So if I move mouse in the window #2, SDL window (which is unfocused) also receives SDL_MOUSEMOTION events.
Comment 1 Sam Lantinga 2011-01-21 13:02:52 UTC
This is fixed with the removal of raw input in the latest SDL snapshot:
http://www.libsdl.org/tmp/SDL-1.3.zip

Thanks!