From: Ray Strode Date: Thu, 6 Nov 2008 15:42:00 +0000 (-0500) Subject: Don't clear screen if in debugging mode X-Git-Tag: 0.6.0~41^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aac31c33ae35b2d68ac0ae7d99232ede2b2abf25;p=thirdparty%2Fplymouth.git Don't clear screen if in debugging mode Otherwise, some of the debugging messages get lost. --- diff --git a/src/libplybootsplash/ply-window.c b/src/libplybootsplash/ply-window.c index d802eefe..c84ac9b3 100644 --- a/src/libplybootsplash/ply-window.c +++ b/src/libplybootsplash/ply-window.c @@ -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);