ChangeLog entry for src/
1998-05-09 Kirill M. Katsnelson <kkm(a)kis.ru>
* This change adds four scrollbar specifiers:
{horizontal,vertical}-scrollbar-visible-p and
scrollbar-on-{top,left}-p.
Spare parts supplied by Didier Verna <verna(a)inf.enst.fr>
* frameslots.h: Added slots for the four specifier caching.
* frame.h: FRAME_SCROLLBAR_{WIDTH,HEIGHT} count for scrollbar
visible specifiers.
Removed old resource-only controlled scrollbar_on_* ints.
* frame-x.c (x_layout_widgets): Removed (to x-scrollbar.el)
initialization of old style scrollbar placement from resources.
* frame-tty.c (tty_init_frame_1): Removed initialization of old
style scrollbar placement.
* frame-msw.c (mswindows_init_frame_1): Removed random
initialization of scrollbar sizes to 15 pixel.
* redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Use
scrollbar placement specifiers cached values from window, instead
of the old per-frame values.
(mswindows_output_vertical_divider): Ditto.
* redisplay-x.c (x_output_vertical_divider): Ditto.
* redisplay-output.c (redisplay_clear_bottom_of_window): Ditto.
* scrollbar.c (update_scrollbar_instance): Ditto.
(specifier_vars_of_scrollbar): Declared the four specifiers.
* window.h (struct window): Defined slots for caching the new
specifiers.
* window.c (mark_window): Mark them.
(allocate_window): Initialize them.
(struct saved_window): Store them in a cool place.
(saved_window_equal): Compare them.
(save_window_save): Save them.
(Fset_window_configuration): Fetch them back.
(window_needs_vertical_divider): Check for scrollbar placement
using window cached specs.
(window_top_gutter_height): Ditto.
(window_bottom_gutter_height): Ditto.
(window_left_gutter_width): Ditto.
(window_right_gutter_width): Ditto.
(window_scrollbar_width): Account for scrollbar visibility
specification in window.
(window_scrollbar_height): Ditto.
ChangeLog entry for lisp/
1998-05-09 Kirill M. Katsnelson <kkm(a)kis.ru>
* x-scrollbar.el (x-init-scrollbar-from-resources): Initialize
scrollbar-on-{left,top}-p from *scrollBarPlacement resources.
* x-misc.el (x-get-resource-and-maybe-bogosity-check): Removed
obsolete comment.
* scrollbar.el (scrollbars-visible-p): Use new
{vertical,horizontal}-scrollbar-visible-p specifiers.