From: Ray Strode Date: Mon, 30 Jun 2008 21:52:44 +0000 (-0400) Subject: Don't watch tty for input in two places X-Git-Tag: 0.5.0~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f0412cefff84f1cb654c4d152287723b7dbac276;p=thirdparty%2Fplymouth.git Don't watch tty for input in two places --- diff --git a/src/libplybootsplash/ply-window.c b/src/libplybootsplash/ply-window.c index 5f65ef1e..90f9cc6f 100644 --- a/src/libplybootsplash/ply-window.c +++ b/src/libplybootsplash/ply-window.c @@ -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);