diff options
author | Eli Zaretskii <eliz@gnu.org> | 2001-12-13 10:01:22 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2001-12-13 10:01:22 +0000 |
commit | 70358e32d7020a3038b4c467171275a778704d48 (patch) | |
tree | b986b42b17d51dd74d1d079647c4ad624f2b313b /mac | |
parent | a684e9f04f9de8f3787c4dfdde1fbae5991b53d6 (diff) | |
download | emacs-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.c | 4 |
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)); |