(poll_for_input) [SYNC_INPUT]: Don't call poll_for_input_1. Set
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Tue, 12 Apr 2005 08:07:13 +0000 (08:07 +0000)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Tue, 12 Apr 2005 08:07:13 +0000 (08:07 +0000)
interrupt_input_pending to 1 instead.

src/keyboard.c

index 07b2f99..0eb8253 100644 (file)
@@ -2115,7 +2115,11 @@ poll_for_input (timer)
      struct atimer *timer;
 {
   if (poll_suppress_count == 0)
+#ifdef SYNC_INPUT
+    interrupt_input_pending = 1;
+#else
     poll_for_input_1 ();
+#endif
 }
 
 #endif /* POLL_FOR_INPUT */