From ae4e78dae72b2694efca8809d5524fe1a2e00d01 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sat, 25 Nov 2006 04:18:11 +0000 Subject: [PATCH] (set_window_buffer): Use BLOCK_INPUT. --- src/window.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/window.c b/src/window.c index 12159dd8af7..f1a0cb55072 100644 --- a/src/window.c +++ b/src/window.c @@ -3351,8 +3351,10 @@ set_window_buffer (window, buffer, run_hooks_p, keep_margins_p) } #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); -- 2.39.2