aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xmenu.c1
1 files changed, 1 insertions, 0 deletions
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)
1269 int x, y; 1269 int x, y;
1270{ 1270{
1271 return (y >= 0 1271 return (y >= 0
1272 && f->display.x->menubar_widget != 0
1272 && y < f->display.x->menubar_widget->core.height 1273 && y < f->display.x->menubar_widget->core.height
1273 && x >= 0 1274 && x >= 0
1274 && x < last_menu_bar_item_end 1275 && x < last_menu_bar_item_end