Mercurial > emacs
changeset 42008:bd613f1516d2
(x_report_frame_params): 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 10:01:22 +0000 |
parents | 81966d7ace84 |
children | 929c3e3a6ca4 |
files | mac/src/macfns.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mac/src/macfns.c Thu Dec 13 09:58:12 2001 +0000 +++ b/mac/src/macfns.c Thu Dec 13 10:01:22 2001 +0000 @@ -1006,6 +1006,10 @@ make_number (f->output_data.mac->left_fringe_width)); store_in_alist (alistptr, Qright_fringe, make_number (f->output_data.mac->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_MAC_WINDOW (f)); store_in_alist (alistptr, Qwindow_id, build_string (buf));