Mercurial > emacs
comparison src/xfns.c @ 26978:06f887a1c834
(Fx_create_frame): Move x_default_parameter calls that
lead to size changes to after the X window has been created.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 22 Dec 1999 16:08:32 +0000 |
parents | e388d69f4269 |
children | f0d5e95ccce9 |
comparison
equal
deleted
inserted
replaced
26977:2560ef068519 | 26978:06f887a1c834 |
---|---|
3764 | 3764 |
3765 x_default_parameter (f, parms, Qmenu_bar_lines, make_number (1), | 3765 x_default_parameter (f, parms, Qmenu_bar_lines, make_number (1), |
3766 "menuBar", "MenuBar", RES_TYPE_NUMBER); | 3766 "menuBar", "MenuBar", RES_TYPE_NUMBER); |
3767 x_default_parameter (f, parms, Qtool_bar_lines, make_number (0), | 3767 x_default_parameter (f, parms, Qtool_bar_lines, make_number (0), |
3768 "toolBar", "ToolBar", RES_TYPE_NUMBER); | 3768 "toolBar", "ToolBar", RES_TYPE_NUMBER); |
3769 x_default_parameter (f, parms, Qscroll_bar_width, Qnil, | |
3770 "scrollBarWidth", "ScrollBarWidth", | |
3771 RES_TYPE_NUMBER); | |
3772 x_default_parameter (f, parms, Qbuffer_predicate, Qnil, | 3769 x_default_parameter (f, parms, Qbuffer_predicate, Qnil, |
3773 "bufferPredicate", "BufferPredicate", | 3770 "bufferPredicate", "BufferPredicate", |
3774 RES_TYPE_SYMBOL); | 3771 RES_TYPE_SYMBOL); |
3775 x_default_parameter (f, parms, Qtitle, Qnil, | 3772 x_default_parameter (f, parms, Qtitle, Qnil, |
3776 "title", "Title", RES_TYPE_STRING); | 3773 "title", "Title", RES_TYPE_STRING); |
3828 "autoRaise", "AutoRaiseLower", RES_TYPE_BOOLEAN); | 3825 "autoRaise", "AutoRaiseLower", RES_TYPE_BOOLEAN); |
3829 x_default_parameter (f, parms, Qauto_lower, Qnil, | 3826 x_default_parameter (f, parms, Qauto_lower, Qnil, |
3830 "autoLower", "AutoRaiseLower", RES_TYPE_BOOLEAN); | 3827 "autoLower", "AutoRaiseLower", RES_TYPE_BOOLEAN); |
3831 x_default_parameter (f, parms, Qcursor_type, Qbox, | 3828 x_default_parameter (f, parms, Qcursor_type, Qbox, |
3832 "cursorType", "CursorType", RES_TYPE_SYMBOL); | 3829 "cursorType", "CursorType", RES_TYPE_SYMBOL); |
3830 x_default_parameter (f, parms, Qscroll_bar_width, Qnil, | |
3831 "scrollBarWidth", "ScrollBarWidth", | |
3832 RES_TYPE_NUMBER); | |
3833 | 3833 |
3834 /* Dimensions, especially f->height, must be done via change_frame_size. | 3834 /* Dimensions, especially f->height, must be done via change_frame_size. |
3835 Change will not be effected unless different from the current | 3835 Change will not be effected unless different from the current |
3836 f->height. */ | 3836 f->height. */ |
3837 width = f->width; | 3837 width = f->width; |