Now that we retain the splash on screen and don't
explicitly hide it on quit, we need to make sure
that we leave the window as we found it when we
remove the window from the splash.
remove_window (ply_boot_splash_plugin_t *plugin,
ply_window_t *window)
{
+ ply_window_show_text_cursor (plugin->window);
+ ply_window_reset_colors (plugin->window);
+
plugin->window = NULL;
}
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);
}
}
remove_window (ply_boot_splash_plugin_t *plugin,
ply_window_t *window)
{
+ ply_window_show_text_cursor (plugin->window);
+ ply_window_reset_colors (plugin->window);
+
plugin->window = NULL;
}
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);
}
}