aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-12-06 08:49:18 +0000
committerRichard M. Stallman1994-12-06 08:49:18 +0000
commit95b999aae762c02d4316e78c8c92a0084f73edcb (patch)
tree9945e26f0a0efe69c049241c279d774b3d6b17da /src
parent2b49050ad08e3376a26644cbf39164e4ef0dfc1e (diff)
downloademacs-95b999aae762c02d4316e78c8c92a0084f73edcb.tar.gz
emacs-95b999aae762c02d4316e78c8c92a0084f73edcb.zip
(struct frame): New field cost_calculation_baud_rate.
(FRAME_COST_BAUD_RATE): New macro.
Diffstat (limited to 'src')
-rw-r--r--src/frame.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/frame.h b/src/frame.h
index f9969d2c812..f21d4dcf64e 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -247,6 +247,9 @@ struct frame
247 on the fly, using scroll_bar_cols and the current font width. */ 247 on the fly, using scroll_bar_cols and the current font width. */
248 int scroll_bar_pixel_width; 248 int scroll_bar_pixel_width;
249 int scroll_bar_cols; 249 int scroll_bar_cols;
250
251 /* The baud rate that was used to calculate costs for this frame. */
252 int cost_calculation_baud_rate;
250}; 253};
251 254
252#ifdef MULTI_FRAME 255#ifdef MULTI_FRAME
@@ -305,6 +308,7 @@ typedef struct frame *FRAME_PTR;
305#define FRAME_SCROLL_BARS(f) ((f)->scroll_bars) 308#define FRAME_SCROLL_BARS(f) ((f)->scroll_bars)
306#define FRAME_CONDEMNED_SCROLL_BARS(f) ((f)->condemned_scroll_bars) 309#define FRAME_CONDEMNED_SCROLL_BARS(f) ((f)->condemned_scroll_bars)
307#define FRAME_MENU_BAR_ITEMS(f) ((f)->menu_bar_items) 310#define FRAME_MENU_BAR_ITEMS(f) ((f)->menu_bar_items)
311#define FRAME_COST_BAUD_RATE(f) ((f)->cost_calculation_baud_rate)
308 312
309/* Emacs's redisplay code could become confused if a frame's 313/* Emacs's redisplay code could become confused if a frame's
310 visibility changes at arbitrary times. For example, if a frame is 314 visibility changes at arbitrary times. For example, if a frame is
@@ -449,6 +453,7 @@ extern FRAME_PTR last_nonminibuf_frame;
449#define FRAME_SCROLL_BARS(f) (the_only_frame.scroll_bars) 453#define FRAME_SCROLL_BARS(f) (the_only_frame.scroll_bars)
450#define FRAME_CONDEMNED_SCROLL_BARS(f) (the_only_frame.condemned_scroll_bars) 454#define FRAME_CONDEMNED_SCROLL_BARS(f) (the_only_frame.condemned_scroll_bars)
451#define FRAME_MENU_BAR_ITEMS(f) (the_only_frame.menu_bar_items) 455#define FRAME_MENU_BAR_ITEMS(f) (the_only_frame.menu_bar_items)
456#define FRAME_COST_BAUD_RATE(f) (the_only_frame.cost_calculation_baud_rate)
452 457
453/* See comments in definition above. */ 458/* See comments in definition above. */
454#define FRAME_SAMPLE_VISIBILITY(f) (0) 459#define FRAME_SAMPLE_VISIBILITY(f) (0)