Mercurial > emacs
comparison src/frame.c @ 16263:a369af16e836
(make_frame): Switch from boolean `has_vertical_scrollbars' integer to
an enumerated type. Use new macro SET_FRAME_WIDTH.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 21 Sep 1996 03:24:01 +0000 |
parents | ca018789eb73 |
children | f4833d0bfaaa |
comparison
equal
deleted
inserted
replaced
16262:769461738e5d | 16263:a369af16e836 |
---|---|
279 f->garbaged = 0; | 279 f->garbaged = 0; |
280 f->has_minibuffer = mini_p; | 280 f->has_minibuffer = mini_p; |
281 f->focus_frame = Qnil; | 281 f->focus_frame = Qnil; |
282 f->explicit_name = 0; | 282 f->explicit_name = 0; |
283 f->can_have_scroll_bars = 0; | 283 f->can_have_scroll_bars = 0; |
284 f->has_vertical_scroll_bars = 0; | 284 f->vertical_scroll_bar_type = vertical_scroll_bar_none; |
285 f->param_alist = Qnil; | 285 f->param_alist = Qnil; |
286 f->scroll_bars = Qnil; | 286 f->scroll_bars = Qnil; |
287 f->condemned_scroll_bars = Qnil; | 287 f->condemned_scroll_bars = Qnil; |
288 f->face_alist = Qnil; | 288 f->face_alist = Qnil; |
289 f->menu_bar_items = Qnil; | 289 f->menu_bar_items = Qnil; |
317 | 317 |
318 /* 10 is arbitrary, | 318 /* 10 is arbitrary, |
319 just so that there is "something there." | 319 just so that there is "something there." |
320 Correct size will be set up later with change_frame_size. */ | 320 Correct size will be set up later with change_frame_size. */ |
321 | 321 |
322 f->width = 10; | 322 SET_FRAME_WIDTH (f, 10); |
323 f->height = 10; | 323 f->height = 10; |
324 | 324 |
325 XSETFASTINT (XWINDOW (root_window)->width, 10); | 325 XSETFASTINT (XWINDOW (root_window)->width, 10); |
326 XSETFASTINT (XWINDOW (root_window)->height, (mini_p ? 9 : 10)); | 326 XSETFASTINT (XWINDOW (root_window)->height, (mini_p ? 9 : 10)); |
327 | 327 |