mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 11:19:17 +02:00
Don't watch tty for input in two places
This commit is contained in:
parent
dfbde72557
commit
f0412cefff
1 changed files with 0 additions and 6 deletions
|
|
@ -723,12 +723,6 @@ ply_window_attach_to_event_loop (ply_window_t *window,
|
|||
|
||||
window->loop = loop;
|
||||
|
||||
if (window->tty_fd >= 0)
|
||||
window->tty_fd_watch = ply_event_loop_watch_fd (window->loop, window->tty_fd,
|
||||
PLY_EVENT_LOOP_FD_STATUS_HAS_DATA,
|
||||
(ply_event_handler_t) on_key_event,
|
||||
NULL, window);
|
||||
|
||||
ply_event_loop_watch_for_exit (loop, (ply_event_loop_exit_handler_t)
|
||||
ply_window_detach_from_event_loop,
|
||||
window);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue