aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1995-06-08 19:14:45 +0000
committerKarl Heuer1995-06-08 19:14:45 +0000
commitf1df80a88f4d82fa2bc0f7069f23a2de220f1b76 (patch)
treeed9aa78f871d146073f1180d4b09d2945d08df80
parent933fb95777b74b05adf973cd3e0ba771cde9bf02 (diff)
downloademacs-f1df80a88f4d82fa2bc0f7069f23a2de220f1b76.tar.gz
emacs-f1df80a88f4d82fa2bc0f7069f23a2de220f1b76.zip
(xmenu_show): If !HAVE_X_WINDOWS, don't reference X display.
-rw-r--r--src/xmenu.c2
1 files changed, 2 insertions, 0 deletions
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)
2332 x, y, ButtonReleaseMask, &datap); 2332 x, y, ButtonReleaseMask, &datap);
2333 2333
2334 2334
2335#ifdef HAVE_X_WINDOWS
2335 /* Assume the mouse has moved out of the X window. 2336 /* Assume the mouse has moved out of the X window.
2336 If it has actually moved in, we will get an EnterNotify. */ 2337 If it has actually moved in, we will get an EnterNotify. */
2337 x_mouse_leave (FRAME_X_DISPLAY_INFO (f)); 2338 x_mouse_leave (FRAME_X_DISPLAY_INFO (f));
2339#endif
2338 2340
2339 switch (status) 2341 switch (status)
2340 { 2342 {