summaryrefslogtreecommitdiff
path: root/mac
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2001-12-13 10:01:22 +0000
committerEli Zaretskii <eliz@gnu.org>2001-12-13 10:01:22 +0000
commit70358e32d7020a3038b4c467171275a778704d48 (patch)
treeb986b42b17d51dd74d1d079647c4ad624f2b313b /mac
parenta684e9f04f9de8f3787c4dfdde1fbae5991b53d6 (diff)
downloademacs-70358e32d7020a3038b4c467171275a778704d48.tar.gz
(x_report_frame_params): Makes the scroll-bar-width frame
parameter have a numeric value all the time.
Diffstat (limited to 'mac')
-rw-r--r--mac/src/macfns.c4
1 files changed, 4 insertions, 0 deletions
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));