diff options
| author | Stefan Monnier | 2008-04-09 03:25:14 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-04-09 03:25:14 +0000 |
| commit | 9b2cd403209d7fa25b310b29a2f0a570865fbbb3 (patch) | |
| tree | 3b63c80a0539168cbe49aaffcce1a1ef0ca9469a /src/termchar.h | |
| parent | 84cb7b4562d2075284f15bcc832d156d0cf0d71a (diff) | |
| download | emacs-9b2cd403209d7fa25b310b29a2f0a570865fbbb3.tar.gz emacs-9b2cd403209d7fa25b310b29a2f0a570865fbbb3.zip | |
* xdisp.c (redisplay_internal): Reset tty's color_mode when switching
to another frame.
* frame.c (do_switch_frame): Refine the top_frame/async_visible code.
Don't call set_tty_color_mode.
(store_frame_param): Reset previous_frame rather than call
set_tty_color_mode.
* term.c (set_tty_color_mode): Rewrite.
* dispextern.h (set_tty_color_mode): New type.
* termchar.h (struct tty_display_info): Add `previous_color_mode'.
Diffstat (limited to 'src/termchar.h')
| -rw-r--r-- | src/termchar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/termchar.h b/src/termchar.h index 390b6490b63..735758ac910 100644 --- a/src/termchar.h +++ b/src/termchar.h | |||
| @@ -70,6 +70,7 @@ struct tty_display_info | |||
| 70 | 70 | ||
| 71 | /* The previous frame we displayed on this tty. */ | 71 | /* The previous frame we displayed on this tty. */ |
| 72 | struct frame *previous_frame; | 72 | struct frame *previous_frame; |
| 73 | int previous_color_mode; | ||
| 73 | 74 | ||
| 74 | /* Strings, numbers and flags taken from the termcap entry. */ | 75 | /* Strings, numbers and flags taken from the termcap entry. */ |
| 75 | 76 | ||