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 2254

Summary: New windows should not steal focus in focus-follows-mouse mode
Product: SDL Reporter: Andrew Church <achurch+sdl>
Component: videoAssignee: Ryan C. Gordon <icculus>
Status: ASSIGNED --- QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.1   
Hardware: x86_64   
OS: Linux   

Description Andrew Church 2013-11-20 13:04:18 UTC
In SDL 2.0.1 on Linux/X11 using focus-follows-mouse, new windows created with SDL_CreateWindow() steal input focus even if the SDL_WINDOW_INPUT_FOCUS flag is not specified, contrary to the expected behavior of not taking focus if the mouse pointer is not inside the new window.

This is a regression from SDL 1.2.15.
Comment 1 Ryan C. Gordon 2015-02-19 05:22:18 UTC
Marking a large number of bugs with the "triage-2.0.4" keyword at once. Sorry if you got a lot of email from this. This is to help me sort through some bugs in regards to a 2.0.4 release. We may or may not fix this bug for 2.0.4, though!