changeset 42007:81966d7ace84

(x_report_frame_params): Makes the scroll-bar-width frame parameter have a numeric value all the time.
author Eli Zaretskii <eliz@gnu.org>
date Thu, 13 Dec 2001 09:58:12 +0000
parents 06231786ed81
children bd613f1516d2
files src/w32fns.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32fns.c	Thu Dec 13 09:56:04 2001 +0000
+++ b/src/w32fns.c	Thu Dec 13 09:58:12 2001 +0000
@@ -1080,6 +1080,10 @@
        	   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));