aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorEli Zaretskii2014-06-04 12:16:46 +0300
committerEli Zaretskii2014-06-04 12:16:46 +0300
commitd13adf6ddc858a988f88233fe6d73a8ca4a87cf7 (patch)
treef7ded9b13a8785e0c643bb3cd6a7cd893bfede25 /src/ChangeLog
parent4a52a98a9a5a49719da0a44d5ab1ddfde9a2aedc (diff)
downloademacs-d13adf6ddc858a988f88233fe6d73a8ca4a87cf7.tar.gz
emacs-d13adf6ddc858a988f88233fe6d73a8ca4a87cf7.zip
Attempt to solve bug #17497 by minimizing cursor motion during TTY menu updates.
src/term.c (tty_menu_display): Don't position cursor here. Instead, pass the cursor coordinates to update_frame_with_menu. (tty_menu_activate): Send the hide cursor command only once in an iteration through the outer 'while' loop. src/dispnew.c (update_frame_1): Accept an additional argument SET_CURSOR_P, and position the cursor at the end of the frame update only if that argument is non-zero. All callers changed to provide the additional argument as non-zero, except for update_frame_with_menu. (update_frame_with_menu): Accept 2 additional arguments ROW and COL; if they are non-negative, instruct update_frame_1 not to position the cursor, and instead position it according to ROW and COL. src/dispextern.h (update_frame_with_menu): Update prototype.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 5759d155580..16e3328a735 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,23 @@
12014-06-04 Eli Zaretskii <eliz@gnu.org>
2
3 Minimize cursor motion during TTY menu updates.
4 * term.c (tty_menu_display): Don't position cursor here. Instead,
5 pass the cursor coordinates to update_frame_with_menu.
6 (tty_menu_activate): Send the hide cursor command only once in an
7 iteration through the outer 'while' loop.
8
9 * dispnew.c (update_frame_1): Accept an additional argument
10 SET_CURSOR_P, and position the cursor at the end of the frame
11 update only if that argument is non-zero. All callers changed to
12 provide the additional argument as non-zero, except for
13 update_frame_with_menu.
14 (update_frame_with_menu): Accept 2 additional arguments ROW and
15 COL; if they are non-negative, instruct update_frame_1 not to
16 position the cursor, and instead position it according to ROW and
17 COL.
18
19 * dispextern.h (update_frame_with_menu): Update prototype.
20
12014-06-02 Stefan Monnier <monnier@iro.umontreal.ca> 212014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2 22
3 * callproc.c (call_process): Don't check read-only if we don't insert 23 * callproc.c (call_process): Don't check read-only if we don't insert