Commit 28d7281d authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(Fx_create_frame): Move x_default_parameter calls that

lead to size changes to after the X window has been created.
parent e22ef6eb
No preview for this file type
...@@ -3766,9 +3766,6 @@ This function is an internal primitive--use `make-frame' instead.") ...@@ -3766,9 +3766,6 @@ This function is an internal primitive--use `make-frame' instead.")
"menuBar", "MenuBar", RES_TYPE_NUMBER); "menuBar", "MenuBar", RES_TYPE_NUMBER);
x_default_parameter (f, parms, Qtool_bar_lines, make_number (0), x_default_parameter (f, parms, Qtool_bar_lines, make_number (0),
"toolBar", "ToolBar", RES_TYPE_NUMBER); "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, x_default_parameter (f, parms, Qbuffer_predicate, Qnil,
"bufferPredicate", "BufferPredicate", "bufferPredicate", "BufferPredicate",
RES_TYPE_SYMBOL); RES_TYPE_SYMBOL);
...@@ -3830,6 +3827,9 @@ This function is an internal primitive--use `make-frame' instead.") ...@@ -3830,6 +3827,9 @@ This function is an internal primitive--use `make-frame' instead.")
"autoLower", "AutoRaiseLower", RES_TYPE_BOOLEAN); "autoLower", "AutoRaiseLower", RES_TYPE_BOOLEAN);
x_default_parameter (f, parms, Qcursor_type, Qbox, x_default_parameter (f, parms, Qcursor_type, Qbox,
"cursorType", "CursorType", RES_TYPE_SYMBOL); "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. /* Dimensions, especially f->height, must be done via change_frame_size.
Change will not be effected unless different from the current Change will not be effected unless different from the current
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment