aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/menu.c')
-rw-r--r--src/menu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/menu.c b/src/menu.c
index caae228a259..cbddef35754 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -1236,6 +1236,9 @@ no quit occurs and `x-popup-menu' returns nil. */)
1236 { 1236 {
1237 /* Use the mouse's current position. */ 1237 /* Use the mouse's current position. */
1238 struct frame *new_f = SELECTED_FRAME (); 1238 struct frame *new_f = SELECTED_FRAME ();
1239
1240 XSETFASTINT (x, 0);
1241 XSETFASTINT (y, 0);
1239#ifdef HAVE_X_WINDOWS 1242#ifdef HAVE_X_WINDOWS
1240 if (FRAME_X_P (new_f)) 1243 if (FRAME_X_P (new_f))
1241 { 1244 {