[vte/vte-0-36] Fix performance regression with only one active terminal widget.



commit 2b4f4f1eea9dd87e27142ee02c973ce7ae9afd3c
Author: Egmont Koblinger <egmont gmail com>
Date:   Mon Jan 13 17:42:49 2014 +0100

    Fix performance regression with only one active terminal widget.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=721944

 src/vte.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/vte.c b/src/vte.c
index 60dea9b..9058af6 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -4593,7 +4593,7 @@ vte_terminal_io_read(GIOChannel *channel,
                if (max_bytes) {
                        max_bytes = terminal->pvt->max_input_bytes / max_bytes;
                } else {
-                       max_bytes = VTE_MAX_INPUT_READ;
+                       max_bytes = terminal->pvt->max_input_bytes;
                }
                bytes = terminal->pvt->input_bytes;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]