Mercurial > emacs
changeset 97873:a74660c83709
(IT_update_begin, IT_update_end): Add termscript trace.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 30 Aug 2008 13:19:15 +0000 |
parents | 6e47522fd758 |
children | 9468eeadf007 |
files | src/msdos.c |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/msdos.c Sat Aug 30 13:06:15 2008 +0000 +++ b/src/msdos.c Sat Aug 30 13:19:15 2008 +0000 @@ -1838,6 +1838,9 @@ struct tty_display_info *display_info = FRAME_X_DISPLAY_INFO (f); struct frame *mouse_face_frame = display_info->mouse_face_mouse_frame; + if (display_info->termscript) + fprintf (display_info->termscript, "\n\n<UPDATE_BEGIN"); + BLOCK_INPUT; if (f && f == mouse_face_frame) @@ -1894,7 +1897,11 @@ static void IT_update_end (struct frame *f) { - FRAME_X_DISPLAY_INFO (f)->mouse_face_defer = 0; + struct tty_display_info *dpyinfo = FRAME_X_DISPLAY_INFO (f); + + if (dpyinfo->termscript) + fprintf (dpyinfo->termscript, "\n<UPDATE_END\n"); + dpyinfo->mouse_face_defer = 0; } static void