]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
Don't clear screen if in debugging mode
authorRay Strode <rstrode@redhat.com>
Thu, 6 Nov 2008 15:42:00 +0000 (10:42 -0500)
committerRay Strode <rstrode@redhat.com>
Thu, 6 Nov 2008 15:42:00 +0000 (10:42 -0500)
Otherwise, some of the debugging messages
get lost.

src/libplybootsplash/ply-window.c

index d802eefe880ee7e3b690c928afba161bc9f8c9f9..c84ac9b3963904925f4c7deed24a9474e4ed999d 100644 (file)
@@ -635,6 +635,9 @@ ply_window_set_text_cursor_position (ply_window_t *window,
 void
 ply_window_clear_screen (ply_window_t *window)
 {
+  if (ply_is_tracing ())
+    return;
+
   if (ply_frame_buffer_device_is_open (window->frame_buffer))
     ply_frame_buffer_fill_with_color (window->frame_buffer, NULL, 0.0, 0.0, 0.0, 1.0);