Mercurial > emacs
changeset 9808:4c43c9dbe130
(x_window): Make ibw 0 by default.
(Fx_create_frame): Don't set xlwmenu_default_font if not USE_X_TOOLKIT.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 01 Nov 1994 21:05:11 +0000 |
parents | d5fa87d62d62 |
children | bc6042c687a0 |
files | src/xfns.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xfns.c Tue Nov 01 21:04:29 1994 +0000 +++ b/src/xfns.c Tue Nov 01 21:05:11 1994 +0000 @@ -2266,7 +2266,7 @@ if (FRAME_EXTERNAL_MENU_BAR (f)) { - Dimension ibw; + Dimension ibw = 0; XtVaGetValues (pane_widget, XtNinternalBorderWidth, &ibw, NULL); menubar_size += ibw; } @@ -2667,9 +2667,11 @@ "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);