Commit 99f7c77f authored by Eli Zaretskii's avatar Eli Zaretskii

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

a numeric value all the time.
parent d41d07b1
......@@ -1206,6 +1206,10 @@ x_report_frame_params (f, alistptr)
make_number (f->output_data.x->left_fringe_width));
store_in_alist (alistptr, Qright_fringe,
make_number (f->output_data.x->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_X_WINDOW (f));
store_in_alist (alistptr, Qwindow_id,
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