From f1df80a88f4d82fa2bc0f7069f23a2de220f1b76 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Thu, 8 Jun 1995 19:14:45 +0000 Subject: [PATCH] (xmenu_show): If !HAVE_X_WINDOWS, don't reference X display. --- src/xmenu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xmenu.c b/src/xmenu.c index df5410c1db3..d6e42039fbe 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -2332,9 +2332,11 @@ xmenu_show (f, x, y, for_click, keymaps, title, error) x, y, ButtonReleaseMask, &datap); +#ifdef HAVE_X_WINDOWS /* Assume the mouse has moved out of the X window. If it has actually moved in, we will get an EnterNotify. */ x_mouse_leave (FRAME_X_DISPLAY_INFO (f)); +#endif switch (status) { -- 2.39.2