]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
show cursor and reset colors when hiding
authorRay Strode <rstrode@redhat.com>
Wed, 5 Nov 2008 20:30:18 +0000 (15:30 -0500)
committerRay Strode <rstrode@redhat.com>
Wed, 5 Nov 2008 20:30:18 +0000 (15:30 -0500)
So we need to reset colors and show cursor when
quiting but not hiding, and we also need to reset colors
and show cursor when hiding but not quiting.

src/plugins/splash/pulser/plugin.c
src/plugins/splash/text/plugin.c

index fcf6ee5bf0bbbe0d1084938c394521e7afc0e1bd..6c8a910c973bb7da5c9d7325cdb10a3a9e6206b4 100644 (file)
@@ -311,6 +311,8 @@ hide_splash_screen (ply_boot_splash_plugin_t *plugin,
 
       ply_window_set_background_color (plugin->window, PLY_WINDOW_COLOR_DEFAULT);
       ply_window_clear_screen (plugin->window);
+      ply_window_show_text_cursor (plugin->window);
+      ply_window_reset_colors (plugin->window);
     }
 }
 
index a27abc61acf8a0cf0655a9db78dffda6b6484afb..bacf390ae93ab5531cdb0a8e68b6db9c35707926 100644 (file)
@@ -336,6 +336,8 @@ hide_splash_screen (ply_boot_splash_plugin_t *plugin,
 
       ply_window_set_background_color (plugin->window, PLY_WINDOW_COLOR_DEFAULT);
       ply_window_clear_screen (plugin->window);
+      ply_window_show_text_cursor (plugin->window);
+      ply_window_reset_colors (plugin->window);
     }
 }