mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-23 21:37:34 +00:00
* xfns.c (Fx_create_frame): Check for internalBorder resource, as
well as internalBorderWidth.
This commit is contained in:
parent
b7e264f680
commit
ddf768c3cf
1 changed files with 13 additions and 1 deletions
14
src/xfns.c
14
src/xfns.c
|
|
@ -1742,7 +1742,19 @@ be shared by the new frame.")
|
|||
"font", "Font", string);
|
||||
x_default_parameter (f, parms, Qborder_width, make_number (2),
|
||||
"borderwidth", "BorderWidth", number);
|
||||
/* This defaults to 2 in order to match xterm. */
|
||||
/* This defaults to 2 in order to match xterm. We recognize either
|
||||
internalBorderWidth or internalBorder (which is what xterm calls
|
||||
it). */
|
||||
if (NILP (Fassq (Qinternal_border_width, parms)))
|
||||
{
|
||||
Lisp_Object value;
|
||||
|
||||
value = x_get_arg (parms, Qinternal_border_width,
|
||||
"internalBorder", "BorderWidth", number);
|
||||
if (! EQ (value, Qunbound))
|
||||
parms = Fcons (Fcons (Qinternal_border_width, value),
|
||||
parms);
|
||||
}
|
||||
x_default_parameter (f, parms, Qinternal_border_width, make_number (2),
|
||||
"internalBorderWidth", "BorderWidth", number);
|
||||
x_default_parameter (f, parms, Qvertical_scroll_bars, Qt,
|
||||
|
|
|
|||
Loading…
Reference in a new issue