# HG changeset patch # User Gerd Moellmann # Date 945878912 0 # Node ID 06f887a1c834c92724e479ab0a70d616559e7267 # Parent 2560ef068519b0398497538e1198a5ee5e8c0905 (Fx_create_frame): Move x_default_parameter calls that lead to size changes to after the X window has been created. diff -r 2560ef068519 -r 06f887a1c834 src/xfns.c --- a/src/xfns.c Wed Dec 22 16:01:16 1999 +0000 +++ b/src/xfns.c Wed Dec 22 16:08:32 1999 +0000 @@ -3766,9 +3766,6 @@ "menuBar", "MenuBar", RES_TYPE_NUMBER); x_default_parameter (f, parms, Qtool_bar_lines, make_number (0), "toolBar", "ToolBar", RES_TYPE_NUMBER); - x_default_parameter (f, parms, Qscroll_bar_width, Qnil, - "scrollBarWidth", "ScrollBarWidth", - RES_TYPE_NUMBER); x_default_parameter (f, parms, Qbuffer_predicate, Qnil, "bufferPredicate", "BufferPredicate", RES_TYPE_SYMBOL); @@ -3830,6 +3827,9 @@ "autoLower", "AutoRaiseLower", RES_TYPE_BOOLEAN); x_default_parameter (f, parms, Qcursor_type, Qbox, "cursorType", "CursorType", RES_TYPE_SYMBOL); + x_default_parameter (f, parms, Qscroll_bar_width, Qnil, + "scrollBarWidth", "ScrollBarWidth", + RES_TYPE_NUMBER); /* Dimensions, especially f->height, must be done via change_frame_size. Change will not be effected unless different from the current