diff options
| author | Joakim Verona | 2013-08-13 17:41:40 +0200 |
|---|---|---|
| committer | Joakim Verona | 2013-08-13 17:41:40 +0200 |
| commit | cc446d1a2479b155892fc03f58ff433e46a680fa (patch) | |
| tree | 15e987b4693fe709eb5ea562ee8c6ee0e10a324a /src/xterm.c | |
| parent | 7cb2f8b52926d37347e5a412abd7a004707258a6 (diff) | |
| parent | f10490f024a5b06d593ae4c03f6371422e2b5a56 (diff) | |
| download | emacs-cc446d1a2479b155892fc03f58ff433e46a680fa.tar.gz emacs-cc446d1a2479b155892fc03f58ff433e46a680fa.zip | |
merge from trunk
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/xterm.c b/src/xterm.c index f845deabd82..7b42e858304 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -5164,7 +5164,7 @@ XTset_vertical_scroll_bar (struct window *w, int portion, int whole, int positio | |||
| 5164 | int top, height, left, sb_left, width, sb_width; | 5164 | int top, height, left, sb_left, width, sb_width; |
| 5165 | int window_y, window_height; | 5165 | int window_y, window_height; |
| 5166 | #ifdef USE_TOOLKIT_SCROLL_BARS | 5166 | #ifdef USE_TOOLKIT_SCROLL_BARS |
| 5167 | int fringe_extended_p; | 5167 | bool fringe_extended_p; |
| 5168 | #endif | 5168 | #endif |
| 5169 | 5169 | ||
| 5170 | /* Get window dimensions. */ | 5170 | /* Get window dimensions. */ |
| @@ -5197,16 +5197,7 @@ XTset_vertical_scroll_bar (struct window *w, int portion, int whole, int positio | |||
| 5197 | #endif | 5197 | #endif |
| 5198 | 5198 | ||
| 5199 | #ifdef USE_TOOLKIT_SCROLL_BARS | 5199 | #ifdef USE_TOOLKIT_SCROLL_BARS |
| 5200 | if (WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_LEFT (w)) | 5200 | fringe_extended_p = WINDOW_FRINGE_EXTENDED_P (w); |
| 5201 | fringe_extended_p = (WINDOW_LEFTMOST_P (w) | ||
| 5202 | && WINDOW_LEFT_FRINGE_WIDTH (w) | ||
| 5203 | && (WINDOW_HAS_FRINGES_OUTSIDE_MARGINS (w) | ||
| 5204 | || WINDOW_LEFT_MARGIN_COLS (w) == 0)); | ||
| 5205 | else | ||
| 5206 | fringe_extended_p = (WINDOW_RIGHTMOST_P (w) | ||
| 5207 | && WINDOW_RIGHT_FRINGE_WIDTH (w) | ||
| 5208 | && (WINDOW_HAS_FRINGES_OUTSIDE_MARGINS (w) | ||
| 5209 | || WINDOW_RIGHT_MARGIN_COLS (w) == 0)); | ||
| 5210 | #endif | 5201 | #endif |
| 5211 | 5202 | ||
| 5212 | /* Does the scroll bar exist yet? */ | 5203 | /* Does the scroll bar exist yet? */ |