mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 05:30:43 -08:00
(x_window): Make ibw 0 by default.
(Fx_create_frame): Don't set xlwmenu_default_font if not USE_X_TOOLKIT.
This commit is contained in:
parent
6cbf476c79
commit
dd254b21da
1 changed files with 3 additions and 1 deletions
|
|
@ -2266,7 +2266,7 @@ x_window (f, window_prompting, minibuffer_only)
|
|||
|
||||
if (FRAME_EXTERNAL_MENU_BAR (f))
|
||||
{
|
||||
Dimension ibw;
|
||||
Dimension ibw = 0;
|
||||
XtVaGetValues (pane_widget, XtNinternalBorderWidth, &ibw, NULL);
|
||||
menubar_size += ibw;
|
||||
}
|
||||
|
|
@ -2667,9 +2667,11 @@ This function is an internal primitive--use `make-frame' instead.")
|
|||
"font", "Font", string);
|
||||
}
|
||||
|
||||
#ifdef USE_X_TOOLKIT
|
||||
/* Prevent lwlib/xlwmenu.c from crashing because of a bug
|
||||
whereby it fails to get any font. */
|
||||
xlwmenu_default_font = f->display.x->font;
|
||||
#endif
|
||||
|
||||
x_default_parameter (f, parms, Qborder_width, make_number (2),
|
||||
"borderwidth", "BorderWidth", number);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue