[PATCH 05/20] [main] Ignore --show-splash while deactivated

Scott James Remnant scott at ubuntu.com
Thu Mar 18 13:30:25 PDT 2010


The last thing we want to do after plymouth deactivate is called by
the X display manager is listen to calls to show the splash screen
again.

So don't.
---
 src/main.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/main.c b/src/main.c
index f914a37..9be2e82 100644
--- a/src/main.c
+++ b/src/main.c
@@ -578,6 +578,9 @@ on_show_splash (state_t *state)
 {
   bool has_display;
 
+  if (state->is_inactive)
+    return;
+
   if (plymouth_should_ignore_show_splash_calls (state))
     {
       dump_details_and_quit_splash (state);
-- 
1.7.0



More information about the plymouth mailing list