changeset 107850:686c788ffbb6

(Fx_create_frame, x_create_tip_frame): Set default border width to zero.
author Jan D. <jan.h.d@swipnet.se>
date Tue, 13 Apr 2010 10:19:05 +0200
parents c35518fa0d56
children 2a74858bccc0 90955ad81bff
files src/ChangeLog src/xfns.c
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Mon Apr 12 23:29:38 2010 -0400
+++ b/src/ChangeLog	Tue Apr 13 10:19:05 2010 +0200
@@ -1,3 +1,8 @@
+2010-04-13  Jan Djärv  <jan.h.d@swipnet.se>
+
+	* xfns.c (Fx_create_frame, x_create_tip_frame): Set default border width
+	to zero.
+
 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	* term.c (init_tty): Move common text outside of #ifdef TERMINFO.
--- a/src/xfns.c	Mon Apr 12 23:29:38 2010 -0400
+++ b/src/xfns.c	Tue Apr 13 10:19:05 2010 +0200
@@ -3376,7 +3376,7 @@
 
   /* Frame contents get displaced if an embedded X window has a border.  */
   if (! FRAME_X_EMBEDDED_P (f))
-    x_default_parameter (f, parms, Qborder_width, make_number (2),
+    x_default_parameter (f, parms, Qborder_width, make_number (0),
 			 "borderWidth", "BorderWidth", RES_TYPE_NUMBER);
 
   /* This defaults to 1 in order to match xterm.  We recognize either
@@ -4847,7 +4847,7 @@
      needed to determine window geometry.  */
   x_default_font_parameter (f, parms);
 
-  x_default_parameter (f, parms, Qborder_width, make_number (2),
+  x_default_parameter (f, parms, Qborder_width, make_number (0),
 		       "borderWidth", "BorderWidth", RES_TYPE_NUMBER);
 
   /* This defaults to 2 in order to match xterm.  We recognize either