r11119 - in /desktop/unstable/vte/debian: changelog patches/91_scrollback-corruption.patch

lool at users.alioth.debian.org lool at users.alioth.debian.org
Tue May 22 16:29:22 UTC 2007


Author: lool
Date: Tue May 22 16:29:22 2007
New Revision: 11119

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=11119
Log:
* New patch, 91_scrollback-corruption, fixes corruption of scrollback; from
  upstream SVN r1889; GNOME #440487; closes: #421092.

Added:
    desktop/unstable/vte/debian/patches/91_scrollback-corruption.patch
Modified:
    desktop/unstable/vte/debian/changelog

Modified: desktop/unstable/vte/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/vte/debian/changelog?rev=11119&op=diff
==============================================================================
--- desktop/unstable/vte/debian/changelog (original)
+++ desktop/unstable/vte/debian/changelog Tue May 22 16:29:22 2007
@@ -2,8 +2,10 @@
 
   * New patch, 90_ctrl-key-fix, fixes Ctrl-key combination yeilding just key;
     from SVN r1893; GNOME #375112.
-
- -- Loic Minier <lool at dooz.org>  Tue, 22 May 2007 10:57:39 +0200
+  * New patch, 91_scrollback-corruption, fixes corruption of scrollback; from
+    upstream SVN r1889; GNOME #440487; closes: #421092.
+
+ -- Loic Minier <lool at dooz.org>  Tue, 22 May 2007 18:28:35 +0200
 
 vte (1:0.16.3-1) unstable; urgency=low
 

Added: desktop/unstable/vte/debian/patches/91_scrollback-corruption.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/vte/debian/patches/91_scrollback-corruption.patch?rev=11119&op=file
==============================================================================
--- desktop/unstable/vte/debian/patches/91_scrollback-corruption.patch (added)
+++ desktop/unstable/vte/debian/patches/91_scrollback-corruption.patch Tue May 22 16:29:22 2007
@@ -1,0 +1,41 @@
+GNOME #440487; Debian #421092; fixes corruption of scrollback; from upstream
+SVN r1889.
+
+2007-05-15  Chris Wilson  <chris at chris-wilson.co.uk>
+
+	kmaraas reported an issue on IRC where the scrollback was not being
+	updated correctly in the first tab when the terminal was resized via
+	a second tab.
+
+	* src/vte.c (vte_terminal_size_allocate): Check whether we need to
+	recompute the visible lines due to a change in layout geometry.
+
+Index: src/vte.c
+===================================================================
+--- src/vte.c (révision 1889)
++++ src/vte.c (révision 1890)
+@@ -7426,7 +7426,7 @@ vte_terminal_size_allocate(GtkWidget *wi
+ {
+ 	VteTerminal *terminal;
+ 	glong width, height;
+-	gboolean repaint;
++	gboolean repaint, update_scrollback;
+ 
+ 	_vte_debug_print(VTE_DEBUG_LIFECYCLE,
+ 			"vte_terminal_size_allocate()\n");
+@@ -7444,12 +7444,14 @@ vte_terminal_size_allocate(GtkWidget *wi
+ 			width, height);
+ 	repaint = widget->allocation.width != allocation->width ||
+ 		widget->allocation.height != allocation->height;
++	update_scrollback = widget->allocation.height != allocation->height;
+ 
+ 	/* Set our allocation to match the structure. */
+ 	widget->allocation = *allocation;
+ 
+ 	if (width != terminal->column_count
+-			|| height != terminal->row_count) {
++			|| height != terminal->row_count
++			|| update_scrollback) {
+ 		VteScreen *screen = terminal->pvt->screen;
+ 		glong visible_rows = MIN (terminal->row_count,
+ 				_vte_ring_length (screen->row_data));




More information about the pkg-gnome-commits mailing list