changeset 13633:3fa66bb82d59

(XTframe_up_to_date): Block and unblock input.
author Richard M. Stallman <rms@gnu.org>
date Wed, 22 Nov 1995 22:23:32 +0000
parents 006e33d6a6c1
children 3db84fa28aea
files src/xterm.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Wed Nov 22 19:04:36 1995 +0000
+++ b/src/xterm.c	Wed Nov 22 22:23:32 1995 +0000
@@ -394,6 +394,7 @@
 XTframe_up_to_date (f)
      FRAME_PTR f;
 {
+  BLOCK_INPUT;
   if (FRAME_X_DISPLAY_INFO (f)->mouse_face_deferred_gc
       || f == FRAME_X_DISPLAY_INFO (f)->mouse_face_mouse_frame)
     {
@@ -402,6 +403,7 @@
 			    FRAME_X_DISPLAY_INFO (f)->mouse_face_mouse_y);
       FRAME_X_DISPLAY_INFO (f)->mouse_face_deferred_gc = 0;
     }
+  UNBLOCK_INPUT;
 }
 
 /* External interface to control of standout mode.