changeset 53722:4f64eb1ea148

Move setting of scroll bars from make_mac_frame to make_mac_terminal_frame to prevent clobbering of scroll-bar-mode.
author Steven Tamm <steventamm@mac.com>
date Tue, 27 Jan 2004 07:32:41 +0000
parents 40f76024a6c1
children 31efc669b404
files src/ChangeLog src/macterm.c
diffstat 2 files changed, 10 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Jan 27 07:31:36 2004 +0000
+++ b/src/ChangeLog	Tue Jan 27 07:32:41 2004 +0000
@@ -1,3 +1,10 @@
+2004-01-27  Steven Tamm <steventamm@mac.com>
+
+	* macterm.c (make_mac_frame, make_mac_terminal_frame): Move
+	setting of scroll bars from make_mac_frame to
+	make_mac_terminal_frame to prevent clobbering of
+	scroll-bar-mode.
+
 2004-01-26  Richard M. Stallman  <rms@gnu.org>
 
 	* search.c (Freplace_match): Handle nonexistent
--- a/src/macterm.c	Tue Jan 27 07:31:36 2004 +0000
+++ b/src/macterm.c	Tue Jan 27 07:32:41 2004 +0000
@@ -8205,9 +8205,6 @@
 void
 make_mac_frame (struct frame *f)
 {
-  FRAME_CAN_HAVE_SCROLL_BARS (f) = 1;
-  FRAME_VERTICAL_SCROLL_BAR_TYPE (f) = vertical_scroll_bar_right;
-
   FRAME_DESIRED_CURSOR (f) = FILLED_BOX_CURSOR;
 
   NewMacWindow(f);
@@ -8256,6 +8253,9 @@
   FRAME_COLS (f) = 96;
   FRAME_LINES (f) = 4;
 
+  FRAME_CAN_HAVE_SCROLL_BARS (f) = 1;
+  FRAME_VERTICAL_SCROLL_BAR_TYPE (f) = vertical_scroll_bar_right;
+
   make_mac_frame (f);
 
   x_make_gc (f);