summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-04-09 02:41:15 +0000
committerRichard M. Stallman <rms@gnu.org>1996-04-09 02:41:15 +0000
commit4e3663ef87a6f93aa49c9ee1d24d98c8b142e92f (patch)
tree828e5221eb1ff66d2d42c9ef9cb7a433ebda5dba /src
parent4ab4ad0969c5957dc61d4a5956b4bf4a81e9ba06 (diff)
downloademacs-4e3663ef87a6f93aa49c9ee1d24d98c8b142e92f.tar.gz
(sit_for): Call swallow_events.
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index c9a94cf37ed..25ac26dd951 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -2367,6 +2367,8 @@ sit_for (sec, usec, reading, display)
{
Lisp_Object read_kbd;
+ swallow_events (display);
+
if (detect_input_pending_run_timers (display))
return Qnil;