aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xfns.c b/src/xfns.c
index b258eecf96a..dbb7dae53b6 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -2270,8 +2270,8 @@ x_set_scroll_bar_width (f, arg, oldval)
2270 2270
2271 if (NILP (arg)) 2271 if (NILP (arg))
2272 { 2272 {
2273#ifdef USE_X_TOOLKIT 2273#ifdef USE_TOOLKIT_SCROLL_BARS
2274 /* A too wide or narrow toolkit scroll bar doesn't look good. */ 2274 /* A minimum width of 14 doesn't look good for toolkit scroll bars. */
2275 int width = 16 + 2 * VERTICAL_SCROLL_BAR_WIDTH_TRIM; 2275 int width = 16 + 2 * VERTICAL_SCROLL_BAR_WIDTH_TRIM;
2276 FRAME_SCROLL_BAR_COLS (f) = (width + wid - 1) / wid; 2276 FRAME_SCROLL_BAR_COLS (f) = (width + wid - 1) / wid;
2277 FRAME_SCROLL_BAR_PIXEL_WIDTH (f) = width; 2277 FRAME_SCROLL_BAR_PIXEL_WIDTH (f) = width;