Commit e3881aa0 authored by Karl Heuer's avatar Karl Heuer

(Fx_create_frame): Do xlwmenu hack only if USE_LUCID.

parent d283640e
......@@ -89,8 +89,10 @@ extern void _XEditResCheckMessages ();
Library. */
extern LWLIB_ID widget_id_tick;
#ifdef USE_LUCID
/* This is part of a kludge--see lwlib/xlwmenu.c. */
extern XFontStruct *xlwmenu_default_font;
#endif
extern void free_frame_menubar ();
#endif /* USE_X_TOOLKIT */
......@@ -3147,7 +3149,7 @@ This function is an internal primitive--use `make-frame' instead.")
"font", "Font", string);
}
#ifdef USE_X_TOOLKIT
#ifdef USE_LUCID
/* Prevent lwlib/xlwmenu.c from crashing because of a bug
whereby it fails to get any font. */
xlwmenu_default_font = f->output_data.x->font;
......
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