Commit 948c852a authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(other_menu_bar_item_p): Return 0 if no menu bar.

parent c58bf9ae
......@@ -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
......
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