diff options
| author | Jim Blandy | 1992-12-24 06:18:24 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-12-24 06:18:24 +0000 |
| commit | 30c566e465ab310e39f9c0189623532851c4445f (patch) | |
| tree | 91e0da058f688803fbbe5e6e8e4ede9949ab0596 /src/ralloc.c | |
| parent | 20a558dc142b78198cacc5723ee7426e143a7929 (diff) | |
| download | emacs-30c566e465ab310e39f9c0189623532851c4445f.tar.gz emacs-30c566e465ab310e39f9c0189623532851c4445f.zip | |
* xdisp.c: #include "termhooks.h".
(redisplay, redisplay_window): Use set_vertical_scrollbar_hook,
condemn_scrollbars_hook, redeem_scrollbar_hook, and
judge_scrollbars_hook to make scrollbars redisplay properly.
It's a pain to remember that you can't assign to FRAME->visible.
Let's change all references to the `visible' member of struct
frame to use the accessor macros, and then write a setter for the
`visible' field that does the right thing.
* frame.h (FRAME_VISIBLE_P): Make this not an l-value.
(FRAME_SET_VISIBLE): New macro.
* frame.c (make_terminal_frame, Fdelete_frame): Use FRAME_SET_VISIBLE.
(Fframe_visible_p, Fvisible_frame_list): Use FRAME_VISIBLE_P and
FRAME_ICONIFIED_P.
* dispnew.c (Fredraw_display): Use the FRAME_VISIBLE_P and
FRAME_GARBAGED_P accessors.
* xdisp.c (redisplay): Use the FRAME_VISIBLE_P accessor.
* xfns.c (x_set_foreground_color, x_set_background_color,
x_set_cursor_color, x_set_border_pixel, x_set_icon_type): Use the
FRAME_VISIBLE_P accessor.
(Fx_create_frame): Use FRAME_SET_VISIBILITY.
* xterm.c (clear_cursor, x_display_bar_cursor,
x_display_box_cursor): Use FRAME_SET_VISIBILITY.
Diffstat (limited to 'src/ralloc.c')
0 files changed, 0 insertions, 0 deletions