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 3658

Summary: [Patch] Correctly set keyboard focus
Product: SDL Reporter: Kai Sterker <kai.sterker>
Component: videoAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: icculus
Version: HG 2.0   
Hardware: x86   
OS: Haiku   
Attachments: Add missing parameter to message

Description Kai Sterker 2017-05-28 14:22:09 UTC
Created attachment 2747 [details]
Add missing parameter to message

The message sent upon the window being activated or deactivated, to trigger the call to SDL_SetKeyboardFocus was missing a mandatory parameter. So keyboard focus was never properly set.
Comment 1 Ryan C. Gordon 2017-05-28 19:36:33 UTC
This patch is now https://hg.libsdl.org/SDL/rev/57e3891f1ef8, thanks!

--ryan.