Keyboard issues with SDL without window manager

Forum rules
Before you post please read how to get help
phulshof
Level 1
Level 1
Posts: 4
Joined: Sat Dec 24, 2016 4:45 am
Location: Netherlands
Contact:

Keyboard issues with SDL without window manager

Postby phulshof » Sat Dec 24, 2016 4:53 am

Edit: Post updated with all findings so far

I recently switched my computer over from Kubuntu 16.04 to Mint KDE 18. Since this computer is used as an Arcade machine from time to time, I set up an xsession (via a .desktop file) to start up my Arcade front-end RetroFE directly on top of X. Everything works fine until I've selected a game, and return from it. At that point in time, my keyboard is no longer functioning.

This appears to be an issue with all SDL based programs. If I start an xterm in stead, launch a non-SDL program from it, and close that program, my keyboard works as expected. If I launch an SDL program, and close that program, my keyboard is non-responsive. I can still select and copy/paste using my mouse, but my keyboard does not function (other than e.g. CTRL-ALT-F1 to switch to a terminal). If I use the mouse to start a new SDL program, the keyboard functions again within that program, but closing the program ends my keyboard actions.

When I use a window manager like KDE, no such problem exists.

Any thoughts what might cause this? This worked perfectly fine within Kubuntu, so I'm wondering what might be the cause.
Last edited by phulshof on Sat Dec 24, 2016 5:50 am, edited 1 time in total.

phulshof
Level 1
Level 1
Posts: 4
Joined: Sat Dec 24, 2016 4:45 am
Location: Netherlands
Contact:

Re: Keyboard issues with SDL without window manager

Postby phulshof » Sun Dec 25, 2016 8:18 pm

Might this be related to the libsdl version? I think that and the X version are about the only differences between the two setups. Still not sure how a closed program still impacts the keyboard behaviour.


Return to “Others”