aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorDmitry Antipov2013-10-14 16:19:21 +0400
committerDmitry Antipov2013-10-14 16:19:21 +0400
commit77e3b1b7095b3376dbddd22cbca4827b797767c0 (patch)
tree1e5cbc68a42c7e1b08acf36d94bc4b158d6117a0 /src/xterm.c
parente558436b778c0199caaff0ce40b9a279bacf640e (diff)
downloademacs-77e3b1b7095b3376dbddd22cbca4827b797767c0.tar.gz
emacs-77e3b1b7095b3376dbddd22cbca4827b797767c0.zip
* termhooks.h (FRAME_MUST_WRITE_SPACES, FRAME_LINE_INS_DEL_OK)
(FRAME_CHAR_INS_DEL_OK, FRAME_SCROLL_REGION_OK) (FRAME_SCROLL_REGION_COST, FRAME_MEMORY_BELOW_FRAME): Adjust to match the change described below. (struct terminal): Move must_write_spaces, line_ins_del_ok, char_ins_del_ok, scroll_region_ok, scroll_region_cost and memory_below_frame members to... * termchar.h (struct tty_display_info): ...here because they're relevant only on TTYs. Prefer unsigned bitfield where appropriate. * term.c (init_tty): * nsterm.m (ns_create_terminal): * w32term.c (w32_create_terminal): * xterm.c (x_create_terminal): Adjust users. * dispnew.c (line_hash_code, line_draw_cost): Pass frame arg to filter out non-TTY frames. Adjust comment. (scrolling): Adjust user. Prefer eassert for debugging check.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/xterm.c b/src/xterm.c
index f73c093cefc..9d1107e10bd 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -10509,11 +10509,6 @@ x_create_terminal (struct x_display_info *dpyinfo)
10509 terminal->delete_terminal_hook = x_delete_terminal; 10509 terminal->delete_terminal_hook = x_delete_terminal;
10510 10510
10511 terminal->rif = &x_redisplay_interface; 10511 terminal->rif = &x_redisplay_interface;
10512 terminal->scroll_region_ok = 1; /* We'll scroll partial frames. */
10513 terminal->char_ins_del_ok = 1;
10514 terminal->line_ins_del_ok = 1; /* We'll just blt 'em. */
10515 terminal->memory_below_frame = 0; /* We don't remember what scrolls
10516 off the bottom. */
10517 10512
10518 return terminal; 10513 return terminal;
10519} 10514}