]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
force text mode if debugging
authorRay Strode <rstrode@redhat.com>
Mon, 9 Jun 2008 20:07:42 +0000 (16:07 -0400)
committerRay Strode <rstrode@redhat.com>
Mon, 9 Jun 2008 20:09:34 +0000 (16:09 -0400)
src/libplybootsplash/ply-window.c

index 99575173721dfa5f0cdd4b0fbf885f66b02c6047..75c2c1a7f2066bf9e15f68911c79fabf233f312b 100644 (file)
@@ -362,6 +362,9 @@ ply_window_set_mode (ply_window_t      *window,
   assert (window != NULL);
   assert (mode == PLY_WINDOW_MODE_TEXT || mode == PLY_WINDOW_MODE_GRAPHICS);
 
+  if (ply_is_tracing ())
+    window->should_force_text_mode = true;
+
   switch (mode)
     {
       case PLY_WINDOW_MODE_TEXT: