--- execute.c.orig	Thu Dec 23 19:20:28 1999
+++ execute.c	Wed Aug 16 00:05:21 2000
@@ -4253,6 +4253,7 @@
          draw_cursor(FALSE);
          default_button = 0;
          editfield_col = -1;
+#if defined(PDCURSES_MOUSE_ENABLED) || defined(NCURSES_MOUSE_VERSION)
          if ( rc == RC_READV_TERM_MOUSE )
          {
             /*
@@ -4267,6 +4268,7 @@
          {
             continue;
          }
+#endif
       }
       else
       {
