From: Karl Heuer Date: Thu, 8 Jun 1995 19:14:45 +0000 (+0000) Subject: (xmenu_show): If !HAVE_X_WINDOWS, don't reference X display. X-Git-Tag: emacs-19.34~3728 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f1df80a88f4d82fa2bc0f7069f23a2de220f1b76;p=emacs.git (xmenu_show): If !HAVE_X_WINDOWS, don't reference X display. --- 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) {