aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)
2367{ 2367{
2368 Lisp_Object read_kbd; 2368 Lisp_Object read_kbd;
2369 2369
2370 swallow_events (display);
2371
2370 if (detect_input_pending_run_timers (display)) 2372 if (detect_input_pending_run_timers (display))
2371 return Qnil; 2373 return Qnil;
2372 2374