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 - [Patch] Correctly set keyboard focus
Summary: [Patch] Correctly set keyboard focus
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: x86 Haiku
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-28 14:22 UTC by Kai Sterker
Modified: 2017-05-28 19:36 UTC (History)
1 user (show)

See Also:


Attachments
Add missing parameter to message (412 bytes, patch)
2017-05-28 14:22 UTC, Kai Sterker
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.