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 - fbdev: No keyboard input when not launched from shell
Summary: fbdev: No keyboard input when not launched from shell
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 1.2
Hardware: All Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-13 18:19 UTC by Paul Cercueil
Modified: 2020-09-22 02:10 UTC (History)
1 user (show)

See Also:


Attachments
Patch to fix the issue (1.47 KB, text/plain)
2020-01-13 18:19 UTC, Paul Cercueil
Details

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