From: Eli Zaretskii Date: Sat, 30 Aug 2008 13:20:17 +0000 (+0000) Subject: (IT_update_begin, IT_update_end): Add termscript trace. X-Git-Tag: emacs-pretest-23.0.90~3136 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7ccd1dafc24d2df21ac4baf415bba2ae9f9d22a2;p=emacs.git (IT_update_begin, IT_update_end): Add termscript trace. --- diff --git a/src/ChangeLog b/src/ChangeLog index 0287a07fe93..e25a09ae453 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -2,6 +2,7 @@ * msdos.c (IT_display_cursor): Write "CURSOR ON/OFF" to termscript only when the state changes. + (IT_update_begin, IT_update_end): Add termscript trace. * w16select.c (Fw16_set_clipboard_data): Don't encode text if clipboard is unavailable. Set dst to NULL if it doesn't point to diff --git a/src/msdos.c b/src/msdos.c index 0d46070d5e3..6b20d317df1 100644 --- a/src/msdos.c +++ b/src/msdos.c @@ -1838,6 +1838,9 @@ IT_update_begin (struct frame *f) 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\nmouse_face_defer = 0; + struct tty_display_info *dpyinfo = FRAME_X_DISPLAY_INFO (f); + + if (dpyinfo->termscript) + fprintf (dpyinfo->termscript, "\nmouse_face_defer = 0; } static void