summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2008-05-23 10:33:23 -0400
committerRay Strode <rstrode@redhat.com>2008-05-23 10:33:23 -0400
commita4b92f435ea39eef1912da252d5844ecb61b43fb (patch)
tree3337ec5b4f937f06ea4cab186b03e3c899105e4a /src
parent6a2fba76c152385d4d2a1ba242d98c3cde2b7450 (diff)
downloadplymouth-a4b92f435ea39eef1912da252d5844ecb61b43fb.tar.gz
plymouth-a4b92f435ea39eef1912da252d5844ecb61b43fb.tar.xz
plymouth-a4b92f435ea39eef1912da252d5844ecb61b43fb.zip
Clear old contents before recompositing to prevent ad-hoc fade effect
Diffstat (limited to 'src')
-rw-r--r--src/splash-plugins/fedora-fade-in/fedora-fade-in.c5
1 files changed, 5 insertions, 0 deletions
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 69a74c4..b0d1414 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);