? vte-size.patch
? doc/reference/vte-overrides.txt
? doc/reference/tmpl/internals.sgml
? gnome-pty-helper/.in
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/vte/ChangeLog,v
retrieving revision 1.569
diff -u -r1.569 ChangeLog
--- ChangeLog	16 Sep 2005 20:14:28 -0000	1.569
+++ ChangeLog	25 Sep 2005 13:22:50 -0000
@@ -1,3 +1,10 @@
+2005-09-25  JP Rosevear  <jpr@novell.com>
+
+	* src/vte.c (vte_terminal_set_emulation): sync the new default
+	size to the actual size
+	(vte_terminal_size_request): determine the size request based on
+	the set column/row counts for the no pty_master case
+
 2005-09-16  Kjartan Maraas  <kmaraas@gnome.org>
 
 	* src/vtexft.c: (_vte_xft_font_for_char): Optimize memory
Index: src/vte.c
===================================================================
RCS file: /cvs/gnome/vte/src/vte.c,v
retrieving revision 1.425
diff -u -r1.425 vte.c
--- src/vte.c	10 Aug 2005 13:29:12 -0000	1.425
+++ src/vte.c	25 Sep 2005 13:22:52 -0000
@@ -115,6 +115,8 @@
 #define VTE_COALESCE_TIMEOUT		2
 #define VTE_DISPLAY_TIMEOUT		2
 
+#define VTE_DEBUG 1
+
 /* The structure we use to hold characters we're supposed to display -- this
  * includes any supported visible attributes. */
 struct vte_charcell {
@@ -11052,6 +11054,9 @@
 					 "li");
 	terminal->pvt->default_column_count = columns;
 	terminal->pvt->default_row_count = rows;
+	vte_terminal_set_size(terminal,
+			      terminal->pvt->default_column_count,
+			      terminal->pvt->default_row_count);
 
 	/* Notify observers that we changed our emulation. */
 	vte_terminal_emit_emulation_changed(terminal);
@@ -11558,9 +11563,9 @@
 				      terminal->row_count;
 	} else {
 		requisition->width = terminal->char_width *
-				     terminal->pvt->default_column_count;
+				     terminal->column_count;
 		requisition->height = terminal->char_height *
-				      terminal->pvt->default_row_count;
+				      terminal->row_count;
 	}
 
 	requisition->width += VTE_PAD_WIDTH * 2;
