]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
Clear screen to black before asking for password
authorRay Strode <rstrode@redhat.com>
Tue, 1 Jul 2008 18:55:11 +0000 (14:55 -0400)
committerRay Strode <rstrode@redhat.com>
Tue, 1 Jul 2008 18:55:11 +0000 (14:55 -0400)
src/splash-plugins/text/plugin.c

index 216e482bbdebe29e80bc7f354df7b73fd2fc1457..f52811c49e5ec5bdb92649aed41f68aa0cd799c2 100644 (file)
@@ -256,6 +256,7 @@ ask_for_password (ply_boot_splash_plugin_t *plugin,
   plugin->pending_password_answer = answer;
 
   stop_animation (plugin);
+  ply_window_set_background_color (plugin->window, PLY_WINDOW_COLOR_DEFAULT);
   ply_window_clear_screen (plugin->window);
 
   window_width = ply_window_get_number_of_text_columns (plugin->window);