HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d41d07b
)
(Frame_parameters): Makes the scroll-bar-width frame parameter have
author
Eli Zaretskii
<eliz@gnu.org>
Thu, 13 Dec 2001 09:56:04 +0000
(09:56 +0000)
committer
Eli Zaretskii
<eliz@gnu.org>
Thu, 13 Dec 2001 09:56:04 +0000
(09:56 +0000)
a numeric value all the time.
src/xfns.c
patch
|
blob
|
blame
|
history
diff --git
a/src/xfns.c
b/src/xfns.c
index
3d309e1
..
49ddb9a
100644
(file)
--- a/
src/xfns.c
+++ b/
src/xfns.c
@@
-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));