]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
main: don't handle udev events when deactivated
authorRay Strode <rstrode@redhat.com>
Fri, 6 Mar 2015 21:00:25 +0000 (16:00 -0500)
committerRay Strode <rstrode@redhat.com>
Fri, 6 Mar 2015 21:01:59 +0000 (16:01 -0500)
We don't want to spontaneously reactivate.

https://bugs.freedesktop.org/show_bug.cgi?id=89474

src/main.c

index 8efb7ee3b2046179fe64e98b6505146c202fd11c..da6e95d61255641bc2cf1418f22f8fd7e5925d04 100644 (file)
@@ -996,7 +996,7 @@ on_seat_added (state_t    *state,
 {
         ply_keyboard_t *keyboard;
 
-        if (state->is_shown) {
+        if (state->is_shown && !state->is_inactive) {
                 if (state->boot_splash == NULL) {
                         ply_trace ("seat added before splash loaded, so loading splash now");
                         show_splash (state);