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 - Mouse button release when minimized
Summary: Mouse button release when minimized
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: 1.2.13
Hardware: x86 Linux
: P2 minor
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords: target-1.2.14
Depends on:
Blocks:
 
Reported: 2008-05-03 00:52 UTC by Tomi Belan
Modified: 2009-09-27 14:45 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 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!