diff options
| author | Martin Rudalics | 2014-01-02 16:58:48 +0100 |
|---|---|---|
| committer | Martin Rudalics | 2014-01-02 16:58:48 +0100 |
| commit | 44c5e192bebd669e687423145cb4949567f64314 (patch) | |
| tree | 87e71c3367932103e9921e385c24d22853d0e623 /src/floatfns.c | |
| parent | c4377e925acc4d9beabc516501e2eef0400197de (diff) | |
| download | emacs-44c5e192bebd669e687423145cb4949567f64314.tar.gz emacs-44c5e192bebd669e687423145cb4949567f64314.zip | |
Further adjust frame/window scrollbar width calculations.
* window.c (apply_window_adjustment): Set
windows_or_buffers_changed.
(Fwindow_scroll_bars): Return actual scrollbar width.
* xfns.c (x_set_scroll_bar_default_width): Rename wid to unit.
For non-toolkit builds again use 14 as minimum width and set
FRAME_CONFIG_SCROLL_BAR_WIDTH accordingly.
* xterm.c (XTset_vertical_scroll_bar): Take width from
WINDOW_SCROLL_BAR_AREA_WIDTH.
(x_new_font): Rename wid to unit. Base calculation of new
scrollbar width on toolkit used and make it analogous to that of
x_set_scroll_bar_default_width.
* w32fns.c (x_set_scroll_bar_default_width): Rename wid to unit.
(Fx_create_frame): Call x_set_scroll_bar_default_width instead
of GetSystemMetrics.
* w32term.c (w32_set_vertical_scroll_bar): Take width from
WINDOW_SCROLL_BAR_AREA_WIDTH.
(x_new_font): Make it correspond to changes in xterm.c.
Diffstat (limited to 'src/floatfns.c')
0 files changed, 0 insertions, 0 deletions