Prevent keystrokes from leaking through to the console when using evdev.

This uses the same method Weston and X use. Sadly, to be fully effective when
launching remotely, this needs root permissions.
This commit is contained in:
Gabriel Jacobo 2013-10-13 17:15:43 -03:00
parent 146a3bc324
commit dd7e8526a2
3 changed files with 103 additions and 1 deletions

View file

@ -148,5 +148,8 @@ this determining the CAPS LOCK behavior:
Notes
================================================================================
* Input events from the keyboard leak through to the console
* When launching apps remotely (via SSH), SDL can prevent local keystrokes from
leaking into the console only if it has root privileges. Launching apps locally
does not suffer from this issue.