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 - New windows should not steal focus in focus-follows-mouse mode
Summary: New windows should not steal focus in focus-follows-mouse mode
Status: ASSIGNED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: 2.0.1
Hardware: x86_64 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-20 13:04 UTC by Andrew Church
Modified: 2017-08-15 04:42 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 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!