Send plymouth mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.freedesktop.org/mailman/listinfo/plymouth
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of plymouth digest..."


Today's Topics:

   1. [PATCH 5/5] [ply-text-display] don't set mode on every write
      (Scott James Remnant)


----------------------------------------------------------------------

Message: 1
Date: Thu, 18 Mar 2010 21:40:08 +0000
From: Scott James Remnant <[email protected]>
Subject: [PATCH 5/5] [ply-text-display] don't set mode on every write
To: [email protected]
Message-ID: <[email protected]>

Resetting the mode to text on every write means that if you're
using a text plugin and X starts, X's VT keeps getting reset back to
KD_TEXT since those plugins don't stop writing on deactivate (they
have no renderer).

There's no reason to set this mode here anyway; all paths to using
those plugins already do this.
---
 src/libply-splash-core/ply-text-display.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/libply-splash-core/ply-text-display.c 
b/src/libply-splash-core/ply-text-display.c
index 69d652b..7cabd98 100644
--- a/src/libply-splash-core/ply-text-display.c
+++ b/src/libply-splash-core/ply-text-display.c
@@ -249,8 +249,6 @@ ply_text_display_write (ply_text_display_t *display,
   vasprintf (&string, format, args);
   va_end (args);
 
-  if (ply_terminal_is_vt (display->terminal))
-    ply_terminal_set_mode (display->terminal, PLY_TERMINAL_MODE_TEXT);
   write (fd, string, strlen (string));
   free (string);
 }
-- 
1.7.0



------------------------------

_______________________________________________
plymouth mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/plymouth


End of plymouth Digest, Vol 17, Issue 16
****************************************

Reply via email to