changeset 74178:eed1e7bacfa3

(set_window_buffer): Use BLOCK_INPUT.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 25 Nov 2006 04:18:11 +0000
parents 69805c3a8301
children da3d362a57ab
files src/window.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Sat Nov 25 04:16:12 2006 +0000
+++ b/src/window.c	Sat Nov 25 04:18:11 2006 +0000
@@ -3351,8 +3351,10 @@
     }
 
 #ifdef HAVE_WINDOW_SYSTEM
+  BLOCK_INPUT;
   if (dpyinfo && EQ (window, dpyinfo->mouse_face_window))
     clear_mouse_face (dpyinfo);
+  UNBLOCK_INPUT;
 #endif
 
   unbind_to (count, Qnil);