]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
seat: activate keyboard when opening seat
authorRay Strode <rstrode@redhat.com>
Fri, 10 Jan 2014 19:06:13 +0000 (14:06 -0500)
committerRay Strode <rstrode@redhat.com>
Fri, 10 Jan 2014 19:07:45 +0000 (14:07 -0500)
During the recent device manager work, the code to open the keyboard
initially got dropped, making keyboard input not work.

This commit fixes that.

src/libply-splash-core/ply-seat.c

index d1493a71472f32555075519abb20ab3b7f869509..0900346bdaa5137497d1c5cc91871f75cb5db0d9 100644 (file)
@@ -139,6 +139,8 @@ ply_seat_open (ply_seat_t          *seat,
       seat->keyboard = ply_keyboard_new_for_terminal (seat->terminal);
       add_text_displays (seat);
     }
+
+  ply_keyboard_watch_for_input (seat->keyboard);
   seat->keyboard_active = true;
 
   return true;