Commit aa17b858 authored by Eli Zaretskii's avatar Eli Zaretskii

(x_report_frame_params): Makes the scroll-bar-width frame parameter have

a numeric value all the time.
parent 99f7c77f
...@@ -1080,6 +1080,10 @@ x_report_frame_params (f, alistptr) ...@@ -1080,6 +1080,10 @@ x_report_frame_params (f, alistptr)
make_number (f->output_data.w32->left_fringe_width)); make_number (f->output_data.w32->left_fringe_width));
store_in_alist (alistptr, Qright_fringe, store_in_alist (alistptr, Qright_fringe,
make_number (f->output_data.w32->right_fringe_width)); 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)); sprintf (buf, "%ld", (long) FRAME_W32_WINDOW (f));
store_in_alist (alistptr, Qwindow_id, store_in_alist (alistptr, Qwindow_id,
build_string (buf)); build_string (buf));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment