From aa17b8585fb6324b8e90d83cad25fdf274efbc5f Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 13 Dec 2001 09:58:12 +0000 Subject: [PATCH] (x_report_frame_params): Makes the scroll-bar-width frame parameter have a numeric value all the time. --- src/w32fns.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/w32fns.c b/src/w32fns.c index 3f8e5f0036d..866ee3283ed 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -1080,6 +1080,10 @@ x_report_frame_params (f, alistptr) make_number (f->output_data.w32->left_fringe_width)); store_in_alist (alistptr, Qright_fringe, make_number (f->output_data.w32->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_W32_WINDOW (f)); store_in_alist (alistptr, Qwindow_id, build_string (buf)); -- 2.39.5