From: Ray Strode Date: Wed, 5 Nov 2008 20:30:18 +0000 (-0500) Subject: show cursor and reset colors when hiding X-Git-Tag: 0.6.0~41^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c799211ba9f08fa169fffd6b5d0c5f2b1df40676;p=thirdparty%2Fplymouth.git show cursor and reset colors when hiding 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. --- diff --git a/src/plugins/splash/pulser/plugin.c b/src/plugins/splash/pulser/plugin.c index fcf6ee5b..6c8a910c 100644 --- a/src/plugins/splash/pulser/plugin.c +++ b/src/plugins/splash/pulser/plugin.c @@ -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); } } diff --git a/src/plugins/splash/text/plugin.c b/src/plugins/splash/text/plugin.c index a27abc61..bacf390a 100644 --- a/src/plugins/splash/text/plugin.c +++ b/src/plugins/splash/text/plugin.c @@ -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); } }