From: Richard M. Stallman Date: Thu, 19 May 1994 15:49:52 +0000 (+0000) Subject: (other_menu_bar_item_p): Return 0 if no menu bar. X-Git-Tag: emacs-19.34~8299 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=948c852a5fd6610555e3fa96d047803529c39880;p=emacs.git (other_menu_bar_item_p): Return 0 if no menu bar. --- diff --git a/src/xmenu.c b/src/xmenu.c index a30c4ac29df..056ae04dd41 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -1269,6 +1269,7 @@ other_menu_bar_item_p (f, x, y) int x, y; { return (y >= 0 + && f->display.x->menubar_widget != 0 && y < f->display.x->menubar_widget->core.height && x >= 0 && x < last_menu_bar_item_end