Mercurial > emacs
comparison src/xterm.c @ 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 | 8873aa3451dd |
children | 9eb09adbcb38 |
comparison
equal
deleted
inserted
replaced
13632:006e33d6a6c1 | 13633:3fa66bb82d59 |
---|---|
392 | 392 |
393 static | 393 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 { |
400 note_mouse_highlight (FRAME_X_DISPLAY_INFO (f)->mouse_face_mouse_frame, | 401 note_mouse_highlight (FRAME_X_DISPLAY_INFO (f)->mouse_face_mouse_frame, |
401 FRAME_X_DISPLAY_INFO (f)->mouse_face_mouse_x, | 402 FRAME_X_DISPLAY_INFO (f)->mouse_face_mouse_x, |
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. |
408 Call this when about to modify line at position VPOS | 410 Call this when about to modify line at position VPOS |
409 and not change whether it is highlighted. */ | 411 and not change whether it is highlighted. */ |