From: Karl Heuer Date: Tue, 16 Jul 1996 23:13:51 +0000 (+0000) Subject: (Fx_create_frame): Do xlwmenu hack only if USE_LUCID. X-Git-Tag: emacs-19.34~142 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e3881aa0c7d0fd9b18207c823f6e8389cce385e6;p=emacs.git (Fx_create_frame): Do xlwmenu hack only if USE_LUCID. --- diff --git a/src/xfns.c b/src/xfns.c index e3c32396f13..74229c6d67e 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -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;