]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
Clear old contents before recompositing to prevent ad-hoc fade effect
authorRay Strode <rstrode@redhat.com>
Fri, 23 May 2008 14:33:23 +0000 (10:33 -0400)
committerRay Strode <rstrode@redhat.com>
Fri, 23 May 2008 14:33:23 +0000 (10:33 -0400)
src/splash-plugins/fedora-fade-in/fedora-fade-in.c

index 69a74c4246e65b929e7db1fd9b9c08f004d3f2de..b0d14143432132c56ffff8483c36005cb19aef18 100644 (file)
@@ -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);