aboutsummaryrefslogtreecommitdiffstats
path: root/src/frame.c
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1996-09-21 03:24:01 +0000
committerRichard M. Stallman <[email protected]>1996-09-21 03:24:01 +0000
commit3a43d2dd7032a863d25eff0b3ff1a5db7d8fe344 (patch)
treeae9dcba4831a322a45d64fd41e5d00f6c6396985 /src/frame.c
parentf6bb2a16757ca3e3eb3f63afd2d92afb8d51b257 (diff)
(make_frame): Switch from boolean `has_vertical_scrollbars' integer to
an enumerated type. Use new macro SET_FRAME_WIDTH.
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frame.c b/src/frame.c
index 1c89055387..b4a29eb304 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -281,7 +281,7 @@ make_frame (mini_p)
f->focus_frame = Qnil;
f->explicit_name = 0;
f->can_have_scroll_bars = 0;
- f->has_vertical_scroll_bars = 0;
+ f->vertical_scroll_bar_type = vertical_scroll_bar_none;
f->param_alist = Qnil;
f->scroll_bars = Qnil;
f->condemned_scroll_bars = Qnil;
@@ -319,7 +319,7 @@ make_frame (mini_p)
just so that there is "something there."
Correct size will be set up later with change_frame_size. */
- f->width = 10;
+ SET_FRAME_WIDTH (f, 10);
f->height = 10;
XSETFASTINT (XWINDOW (root_window)->width, 10);