From: Ray Strode Date: Fri, 23 May 2008 14:33:23 +0000 (-0400) Subject: Clear old contents before recompositing to prevent ad-hoc fade effect X-Git-Tag: 0.1.0~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4b92f435ea39eef1912da252d5844ecb61b43fb;p=thirdparty%2Fplymouth.git Clear old contents before recompositing to prevent ad-hoc fade effect --- diff --git a/src/splash-plugins/fedora-fade-in/fedora-fade-in.c b/src/splash-plugins/fedora-fade-in/fedora-fade-in.c index 69a74c42..b0d14143 100644 --- a/src/splash-plugins/fedora-fade-in/fedora-fade-in.c +++ b/src/splash-plugins/fedora-fade-in/fedora-fade-in.c @@ -543,6 +543,9 @@ draw_password_entry (ply_boot_splash_plugin_t *plugin) entry_area.x = plugin->entry->x; entry_area.y = plugin->entry->y; + ply_frame_buffer_fill_with_color (plugin->frame_buffer, &entry_area, + 0.1, 0.1, .7, 1.0); + ply_frame_buffer_fill_with_argb32_data (plugin->frame_buffer, &entry_area, 0, 0, entry_data); @@ -556,6 +559,8 @@ draw_password_entry (ply_boot_splash_plugin_t *plugin) lock_area.x = x; lock_area.y = y; + ply_frame_buffer_fill_with_color (plugin->frame_buffer, &lock_area, + 0.1, 0.1, .7, 1.0); ply_frame_buffer_fill_with_argb32_data (plugin->frame_buffer, &lock_area, 0, 0, lock_data);