1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-03 20:24:29 +00:00

(x_report_frame_params): Makes the scroll-bar-width frame

parameter have a numeric value all the time.
This commit is contained in:
Eli Zaretskii 2001-12-13 10:01:22 +00:00
parent aa17b8585f
commit e4393359e1

View File

@ -1006,6 +1006,10 @@ x_report_frame_params (f, alistptr)
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));