aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c
index aa3f8b1a8b5..56e3f8f9231 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -380,6 +380,11 @@ static void
380x_flush (f) 380x_flush (f)
381 struct frame *f; 381 struct frame *f;
382{ 382{
383 /* Don't call XFlush when it is not safe to redisplay; the X
384 connection may be broken. */
385 if (!NILP (Vinhibit_redisplay))
386 return;
387
383 BLOCK_INPUT; 388 BLOCK_INPUT;
384 if (f == NULL) 389 if (f == NULL)
385 { 390 {