aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xmenu.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index 5806a1c1173..02b66b1b85b 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -732,7 +732,8 @@ cached information about equivalent key sequences.")
732 unsigned long time; 732 unsigned long time;
733 733
734 if (mouse_position_hook) 734 if (mouse_position_hook)
735 (*mouse_position_hook) (&new_f, &bar_window, &part, &x, &y, &time); 735 (*mouse_position_hook) (&new_f, 1, &bar_window,
736 &part, &x, &y, &time);
736 if (new_f != 0) 737 if (new_f != 0)
737 XSETFRAME (window, new_f); 738 XSETFRAME (window, new_f);
738 else 739 else
@@ -922,7 +923,7 @@ on the left of the dialog box and all following items on the right.\n\
922 unsigned long time; 923 unsigned long time;
923 Lisp_Object x, y; 924 Lisp_Object x, y;
924 925
925 (*mouse_position_hook) (&new_f, &bar_window, &part, &x, &y, &time); 926 (*mouse_position_hook) (&new_f, 1, &bar_window, &part, &x, &y, &time);
926 927
927 if (new_f != 0) 928 if (new_f != 0)
928 XSETFRAME (window, new_f); 929 XSETFRAME (window, new_f);