]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
Don't watch tty for input in two places
authorRay Strode <rstrode@redhat.com>
Mon, 30 Jun 2008 21:52:44 +0000 (17:52 -0400)
committerRay Strode <rstrode@redhat.com>
Mon, 30 Jun 2008 21:52:44 +0000 (17:52 -0400)
src/libplybootsplash/ply-window.c

index 5f65ef1e9e4319144692d7be36748ecfd5212a71..90f9cc6fe2d0bcf58f282bebb66f2254788b8bcc 100644 (file)
@@ -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);