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:
0377370
)
(x_set_scroll_bar_width): Change conditional compilation
author
Gerd Moellmann
<gerd@gnu.org>
Fri, 3 Sep 1999 12:43:28 +0000
(12:43 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Fri, 3 Sep 1999 12:43:28 +0000
(12:43 +0000)
to USE_TOOLKIT_SCROLL_BARS.
src/xfns.c
patch
|
blob
|
blame
|
history
diff --git
a/src/xfns.c
b/src/xfns.c
index
b258eec
..
dbb7dae
100644
(file)
--- a/
src/xfns.c
+++ b/
src/xfns.c
@@
-2270,8
+2270,8
@@
x_set_scroll_bar_width (f, arg, oldval)
if (NILP (arg))
{
-#ifdef USE_
X_TOOLKIT
- /* A
too wide or narrow toolkit scroll bar doesn't look good
. */
+#ifdef USE_
TOOLKIT_SCROLL_BARS
+ /* A
minimum width of 14 doesn't look good for toolkit scroll bars
. */
int width = 16 + 2 * VERTICAL_SCROLL_BAR_WIDTH_TRIM;
FRAME_SCROLL_BAR_COLS (f) = (width + wid - 1) / wid;
FRAME_SCROLL_BAR_PIXEL_WIDTH (f) = width;