# HG changeset patch # User Eli Zaretskii # Date 1008237492 0 # Node ID 81966d7ace848ef506f50a852cc0980914b39a3e # Parent 06231786ed812db5cdfd26f4193491bd49fcb9c7 (x_report_frame_params): Makes the scroll-bar-width frame parameter have a numeric value all the time. diff -r 06231786ed81 -r 81966d7ace84 src/w32fns.c --- 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));