Mercurial > emacs
changeset 42006:06231786ed81
(Frame_parameters): Makes the scroll-bar-width frame parameter have
a numeric value all the time.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Thu, 13 Dec 2001 09:56:04 +0000 |
parents | c22975f132d0 |
children | 81966d7ace84 |
files | src/xfns.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xfns.c Thu Dec 13 08:02:09 2001 +0000 +++ b/src/xfns.c Thu Dec 13 09:56:04 2001 +0000 @@ -1206,6 +1206,10 @@ make_number (f->output_data.x->left_fringe_width)); store_in_alist (alistptr, Qright_fringe, make_number (f->output_data.x->right_fringe_width)); + store_in_alist (alistptr, Qscroll_bar_width, + make_number (FRAME_HAS_VERTICAL_SCROLL_BARS (f) + ? FRAME_SCROLL_BAR_PIXEL_WIDTH(f) + : 0)); sprintf (buf, "%ld", (long) FRAME_X_WINDOW (f)); store_in_alist (alistptr, Qwindow_id, build_string (buf));