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 4947

Summary: fbdev: No keyboard input when not launched from shell
Product: SDL Reporter: Paul Cercueil <paul>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: sezeroz
Version: HG 1.2   
Hardware: All   
OS: Linux   
Attachments: Patch to fix the issue

Description Paul Cercueil 2020-01-13 18:19:30 UTC
Created attachment 4163 [details]
Patch to fix the issue

From the patch:

"When not started from a shell, SDL was segfaulting while trying to
detach the process from the controlling terminal.

However, it doesn't make any sense for an SDL app to detach from
its controlling terminal, unless the app is a daemon. Since we
have never seen a SDL app detach from its controlling terminal,
even when starting it from a shell, the feature was probably broken.
Thus, the code has been dropped."
Comment 1 Ozkan Sezer 2020-09-22 02:10:37 UTC
The patch is in. Thanks.
http://hg.libsdl.org/SDL/rev/f45ec899276f