summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xmenu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index 87a74a1a09f..7764ce3cd83 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -693,6 +693,8 @@ cached information about equivalent key sequences.")
int part;
unsigned long time;
+ if (mouse_position_hook)
+ (*mouse_position_hook) (&new_f, &bar_window, &part, &x, &y, &time);
if (new_f != 0)
XSET (window, Lisp_Frame, new_f);
else