When I hold a mouse button down on another (non-SDL) window, then move the mouse over an SDL window and releasing the mouse button there, then the application does not receive an SDL_ACTIVEEVENT with state SDL_APPMOUSEFOCUS and gain 1. Furthermore, SDL_GetAppState() reports the application not having mouse focus until moving the mouse out of the window and back in again. Tested on x86_64 linux on a GNOME desktop using the Metacity window manager.
The problem does not occur on Windows.
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.
This is fixed for the next release. Thanks!
The fix for this bug introduced the regression which is reported in bug #894. Personally I see this bug fix as less important compared to the regression it introduced. Please do recheck the fix for the problems it does cause. http://bugzilla.libsdl.org/show_bug.cgi?id=894