diff options
| author | Dmitry Antipov | 2013-09-15 12:28:30 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2013-09-15 12:28:30 +0400 |
| commit | 0eed03550425dd3e3689a7fa4d0f1a95b2e48254 (patch) | |
| tree | 3b213afa4487a1cd9a6813fa471fb6f64f0e928f /src/xterm.h | |
| parent | 7f09455e5807f0a2b14a313762f6b547490265d1 (diff) | |
| download | emacs-0eed03550425dd3e3689a7fa4d0f1a95b2e48254.tar.gz emacs-0eed03550425dd3e3689a7fa4d0f1a95b2e48254.zip | |
Drop VERTICAL_SCROLL_BAR_WIDTH_TRIM. For X, it is zero since 1999,
and it is always zero for others, so I assume that this is an ancient
leftover which nobody will want to change any more.
* xterm.h, w32term.h, nsterm.h (VERTICAL_SCROLL_BAR_WIDTH_TRIM): Remove.
(VERTICAL_SCROLL_BAR_INSIDE_WIDTH):
* frame.c (x_set_scroll_bar_width):
* w32fns.c (w32_createscrollbar):
* w32term.c (w32_set_vertical_scroll_bar):
* xfns.c (x_set_scroll_bar_default_width):
* xterm.c (XTflash, x_scroll_bar_create, XTset_vertical_scroll_bar)
(x_scroll_bar_expose): Related users changed.
Diffstat (limited to 'src/xterm.h')
| -rw-r--r-- | src/xterm.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/xterm.h b/src/xterm.h index b7efee4b6cc..2703c743292 100644 --- a/src/xterm.h +++ b/src/xterm.h | |||
| @@ -820,8 +820,7 @@ struct scroll_bar | |||
| 820 | #define VERTICAL_SCROLL_BAR_INSIDE_WIDTH(f, width) \ | 820 | #define VERTICAL_SCROLL_BAR_INSIDE_WIDTH(f, width) \ |
| 821 | ((width) \ | 821 | ((width) \ |
| 822 | - VERTICAL_SCROLL_BAR_LEFT_BORDER \ | 822 | - VERTICAL_SCROLL_BAR_LEFT_BORDER \ |
| 823 | - VERTICAL_SCROLL_BAR_RIGHT_BORDER \ | 823 | - VERTICAL_SCROLL_BAR_RIGHT_BORDER) |
| 824 | - VERTICAL_SCROLL_BAR_WIDTH_TRIM * 2) | ||
| 825 | 824 | ||
| 826 | /* Return the length of the rectangle within which the top of the | 825 | /* Return the length of the rectangle within which the top of the |
| 827 | handle must stay. This isn't equivalent to the inside height, | 826 | handle must stay. This isn't equivalent to the inside height, |
| @@ -858,11 +857,6 @@ struct scroll_bar | |||
| 858 | /* Minimum lengths for scroll bar handles, in pixels. */ | 857 | /* Minimum lengths for scroll bar handles, in pixels. */ |
| 859 | #define VERTICAL_SCROLL_BAR_MIN_HANDLE (5) | 858 | #define VERTICAL_SCROLL_BAR_MIN_HANDLE (5) |
| 860 | 859 | ||
| 861 | /* Trimming off a few pixels from each side prevents | ||
| 862 | text from glomming up against the scroll bar */ | ||
| 863 | #define VERTICAL_SCROLL_BAR_WIDTH_TRIM (0) | ||
| 864 | |||
| 865 | |||
| 866 | /* If a struct input_event has a kind which is SELECTION_REQUEST_EVENT | 860 | /* If a struct input_event has a kind which is SELECTION_REQUEST_EVENT |
| 867 | or SELECTION_CLEAR_EVENT, then its contents are really described | 861 | or SELECTION_CLEAR_EVENT, then its contents are really described |
| 868 | by this structure. */ | 862 | by this structure. */ |