(xmenu_show): If !HAVE_X_WINDOWS, don't reference X display.
authorKarl Heuer <kwzh@gnu.org>
Thu, 8 Jun 1995 19:14:45 +0000 (19:14 +0000)
committerKarl Heuer <kwzh@gnu.org>
Thu, 8 Jun 1995 19:14:45 +0000 (19:14 +0000)
src/xmenu.c

index df5410c..d6e4203 100644 (file)
@@ -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)
     {