changeset 16302:025b3dc7a6ba

(Fx_create_frame): Default Qinternal_border_width to 1. (x_set_scroll_bar_width): Default the width to 3 cols. Call change_frame_size.
author Richard M. Stallman <rms@gnu.org>
date Mon, 23 Sep 1996 04:45:16 +0000
parents a02555b4b2b9
children b65af4967b38
files src/xfns.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Mon Sep 23 04:44:15 1996 +0000
+++ b/src/xfns.c	Mon Sep 23 04:45:16 1996 +0000
@@ -1969,7 +1969,7 @@
   if (NILP (arg))
     {
       FRAME_SCROLL_BAR_PIXEL_WIDTH (f) = 0;
-      FRAME_SCROLL_BAR_COLS (f) = 2;
+      FRAME_SCROLL_BAR_COLS (f) = 3;
       if (FRAME_X_WINDOW (f))
         x_set_window_size (f, 0, FRAME_WIDTH (f), FRAME_HEIGHT (f));
     }
@@ -1982,6 +1982,8 @@
       if (FRAME_X_WINDOW (f))
 	x_set_window_size (f, 0, FRAME_WIDTH (f), FRAME_HEIGHT (f));
     }
+
+  change_frame_size (f, 0, FRAME_WIDTH (f), 0, 0);
 }
 
 /* Subroutines of creating an X frame.  */
@@ -3202,7 +3204,7 @@
 	parms = Fcons (Fcons (Qinternal_border_width, value),
 		       parms);
     }
-  x_default_parameter (f, parms, Qinternal_border_width, make_number (2),
+  x_default_parameter (f, parms, Qinternal_border_width, make_number (1),
 		       "internalBorderWidth", "BorderWidth", number);
   x_default_parameter (f, parms, Qvertical_scroll_bars, Qleft,
 		       "verticalScrollBars", "ScrollBars", boolean);