From: Eli Zaretskii Date: Thu, 13 Dec 2001 10:01:22 +0000 (+0000) Subject: (x_report_frame_params): Makes the scroll-bar-width frame X-Git-Tag: ttn-vms-21-2-B4~17744 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e4393359e1a94b188b14cad631e5a4c085fe6617;p=emacs.git (x_report_frame_params): Makes the scroll-bar-width frame parameter have a numeric value all the time. --- diff --git a/mac/src/macfns.c b/mac/src/macfns.c index 04055d4caf5..fc0cf27a13b 100644 --- a/mac/src/macfns.c +++ b/mac/src/macfns.c @@ -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));