diff options
| author | Richard M. Stallman | 1995-11-22 22:23:32 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-11-22 22:23:32 +0000 |
| commit | cbe24f6076b0502d61102e5cf268ed4439758e18 (patch) | |
| tree | 2c92b54a8f5b5250ad0fb7d4c06617c885113942 /src | |
| parent | 2ed027ede98af20e2a37f0d2e169e6bb8dac069b (diff) | |
| download | emacs-cbe24f6076b0502d61102e5cf268ed4439758e18.tar.gz emacs-cbe24f6076b0502d61102e5cf268ed4439758e18.zip | |
(XTframe_up_to_date): Block and unblock input.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 | |||
| 394 | XTframe_up_to_date (f) | 394 | XTframe_up_to_date (f) |
| 395 | FRAME_PTR f; | 395 | FRAME_PTR f; |
| 396 | { | 396 | { |
| 397 | BLOCK_INPUT; | ||
| 397 | if (FRAME_X_DISPLAY_INFO (f)->mouse_face_deferred_gc | 398 | if (FRAME_X_DISPLAY_INFO (f)->mouse_face_deferred_gc |
| 398 | || f == FRAME_X_DISPLAY_INFO (f)->mouse_face_mouse_frame) | 399 | || f == FRAME_X_DISPLAY_INFO (f)->mouse_face_mouse_frame) |
| 399 | { | 400 | { |
| @@ -402,6 +403,7 @@ XTframe_up_to_date (f) | |||
| 402 | FRAME_X_DISPLAY_INFO (f)->mouse_face_mouse_y); | 403 | FRAME_X_DISPLAY_INFO (f)->mouse_face_mouse_y); |
| 403 | FRAME_X_DISPLAY_INFO (f)->mouse_face_deferred_gc = 0; | 404 | FRAME_X_DISPLAY_INFO (f)->mouse_face_deferred_gc = 0; |
| 404 | } | 405 | } |
| 406 | UNBLOCK_INPUT; | ||
| 405 | } | 407 | } |
| 406 | 408 | ||
| 407 | /* External interface to control of standout mode. | 409 | /* External interface to control of standout mode. |