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 582

Summary: Mouse button release when minimized
Product: SDL Reporter: Tomi Belan <tomi.belan>
Component: *don't know*Assignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: minor    
Priority: P2 Keywords: target-1.2.14
Version: 1.2.13   
Hardware: x86   
OS: Linux   

Description Tomi Belan 2008-05-03 00:52:32 UTC
If you release a mouse button while an application is minimized, the application won't notice it and will still report the button is pressed.

How to reproduce this bug: create a windowed application that reports events. Press and hold a mouse button. Then minimize the application using a WM keyboard shortcut, without releasing the button (the shortcut depends on the WM you use; you'll probably have to change it in your WM configuration dialog). Release the mouse button and then restore the application. SDL_MOUSEMOTION events now report the button is pressed, although it really isn't.
Comment 1 Ryan C. Gordon 2009-09-13 16:33:11 UTC
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.
Comment 2 Sam Lantinga 2009-09-27 14:45:10 UTC
This is fixed for the next release, thanks!