From: Richard M. Stallman Date: Wed, 22 Nov 1995 22:23:32 +0000 (+0000) Subject: (XTframe_up_to_date): Block and unblock input. X-Git-Tag: emacs-19.34~2227 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cbe24f6076b0502d61102e5cf268ed4439758e18;p=emacs.git (XTframe_up_to_date): Block and unblock input. --- diff --git a/src/xterm.c b/src/xterm.c index 906709fe99e..1f7f3b5a9e7 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -394,6 +394,7 @@ static 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 @@ XTframe_up_to_date (f) 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.