aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2001-12-13 09:56:04 +0000
committerEli Zaretskii2001-12-13 09:56:04 +0000
commit99f7c77f3162cb344cc9c779635f6ca9cdf84f8c (patch)
tree7de3a68b93f1834a46e863b23f235805baa70e3c /src
parentd41d07b1addd2605e784909217f6756301ab568a (diff)
downloademacs-99f7c77f3162cb344cc9c779635f6ca9cdf84f8c.tar.gz
emacs-99f7c77f3162cb344cc9c779635f6ca9cdf84f8c.zip
(Frame_parameters): Makes the scroll-bar-width frame parameter have
a numeric value all the time.
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 3d309e11dc2..49ddb9ad6b0 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -1206,6 +1206,10 @@ x_report_frame_params (f, alistptr)
1206 make_number (f->output_data.x->left_fringe_width)); 1206 make_number (f->output_data.x->left_fringe_width));
1207 store_in_alist (alistptr, Qright_fringe, 1207 store_in_alist (alistptr, Qright_fringe,
1208 make_number (f->output_data.x->right_fringe_width)); 1208 make_number (f->output_data.x->right_fringe_width));
1209 store_in_alist (alistptr, Qscroll_bar_width,
1210 make_number (FRAME_HAS_VERTICAL_SCROLL_BARS (f)
1211 ? FRAME_SCROLL_BAR_PIXEL_WIDTH(f)
1212 : 0));
1209 sprintf (buf, "%ld", (long) FRAME_X_WINDOW (f)); 1213 sprintf (buf, "%ld", (long) FRAME_X_WINDOW (f));
1210 store_in_alist (alistptr, Qwindow_id, 1214 store_in_alist (alistptr, Qwindow_id,
1211 build_string (buf)); 1215 build_string (buf));