aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog1
-rw-r--r--src/msdos.c9
2 files changed, 9 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 0287a07fe93..e25a09ae453 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -2,6 +2,7 @@
2 2
3 * msdos.c (IT_display_cursor): Write "CURSOR ON/OFF" to termscript 3 * msdos.c (IT_display_cursor): Write "CURSOR ON/OFF" to termscript
4 only when the state changes. 4 only when the state changes.
5 (IT_update_begin, IT_update_end): Add termscript trace.
5 6
6 * w16select.c (Fw16_set_clipboard_data): Don't encode text if 7 * w16select.c (Fw16_set_clipboard_data): Don't encode text if
7 clipboard is unavailable. Set dst to NULL if it doesn't point to 8 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)
1838 struct tty_display_info *display_info = FRAME_X_DISPLAY_INFO (f); 1838 struct tty_display_info *display_info = FRAME_X_DISPLAY_INFO (f);
1839 struct frame *mouse_face_frame = display_info->mouse_face_mouse_frame; 1839 struct frame *mouse_face_frame = display_info->mouse_face_mouse_frame;
1840 1840
1841 if (display_info->termscript)
1842 fprintf (display_info->termscript, "\n\n<UPDATE_BEGIN");
1843
1841 BLOCK_INPUT; 1844 BLOCK_INPUT;
1842 1845
1843 if (f && f == mouse_face_frame) 1846 if (f && f == mouse_face_frame)
@@ -1894,7 +1897,11 @@ IT_update_begin (struct frame *f)
1894static void 1897static void
1895IT_update_end (struct frame *f) 1898IT_update_end (struct frame *f)
1896{ 1899{
1897 FRAME_X_DISPLAY_INFO (f)->mouse_face_defer = 0; 1900 struct tty_display_info *dpyinfo = FRAME_X_DISPLAY_INFO (f);
1901
1902 if (dpyinfo->termscript)
1903 fprintf (dpyinfo->termscript, "\n<UPDATE_END\n");
1904 dpyinfo->mouse_face_defer = 0;
1898} 1905}
1899 1906
1900static void 1907static void