summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index b038fe7b540..91c57f986c8 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -2298,7 +2298,7 @@ xmenu_show (f, x, y, for_click, keymaps, title, error)
/* Assume the mouse has moved out of the X window.
If it has actually moved in, we will get an EnterNotify. */
- x_mouse_leave ();
+ x_mouse_leave (FRAME_X_DISPLAY_INFO (f));
switch (status)
{