]> git.ipfire.org Git - thirdparty/plymouth.git/commit
renderers: Rework input handling a little
authorRay Strode <rstrode@redhat.com>
Sat, 30 Dec 2023 14:52:37 +0000 (09:52 -0500)
committerRay Strode <rstrode@redhat.com>
Sat, 30 Dec 2023 14:55:33 +0000 (09:55 -0500)
commit3d0705f50f8bd8e6fe25e09061cfad1b15787e4b
tree2075c0a329a489f4eb2a628a28f018936ae83054
parent02308042824a6e05d39bc90ee867438a13104644
renderers: Rework input handling a little

We don't need to flush the terminal input buffer on key events from
the renderers, because the terminal does that itself.

Also, we should disable the terminal input when a /dev/input
device is added instead of relying on it happening the next flush
period.

Finally, we should make sure the terminal gets reenabled on close,
just so we clean up after ourselves.
src/plugins/renderers/drm/plugin.c
src/plugins/renderers/frame-buffer/plugin.c