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 3910 - SDL_CreateWindow didn't set SDL_WINDOW_INPUT_FOCUS flag
Summary: SDL_CreateWindow didn't set SDL_WINDOW_INPUT_FOCUS flag
Status: NEW
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: 2.0.6
Hardware: x86_64 Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-23 08:14 UTC by Tony Liu
Modified: 2017-10-23 08:14 UTC (History)
0 users

See Also:


Attachments
A simple reproducer. (4.94 MB, application/gzip)
2017-10-23 08:14 UTC, Tony Liu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tony Liu 2017-10-23 08:14:00 UTC
Created attachment 3027 [details]
A simple reproducer.

Hi, 

I've found that the SDL_CreateWindow didn't set the SDL_WINDOW_INPUT_FOCUS flag, which could be reproduced on both Ubuntu 14.04 and 16.04. It causes problem for selecting focused window among multiple windows created. I've prepared a simple reproducer for this problem. 

This problem might also be duplicate to the one here: https://bugzilla.libsdl.org/show_bug.cgi?id=2745

BR,
Tony