diff options
author | Glenn Morris <rgm@gnu.org> | 2013-02-17 11:01:46 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2013-02-17 11:01:46 -0800 |
commit | a51e9ff76cc887e0e6df95ff2895d80e0c00e9b9 (patch) | |
tree | 532d6ee96d6406d25eb389480cb142e87eea99ae /src/xdisp.c | |
parent | 913274cbdc4a540f7c68dea45aec76845c50d94a (diff) | |
parent | ae11bda519726c8619f687645138f913b1027be3 (diff) | |
download | emacs-a51e9ff76cc887e0e6df95ff2895d80e0c00e9b9.tar.gz |
Merge from emacs-24; up to 2012-12-20T05:05:41Z!dmantipov@yandex.ru
Diffstat (limited to 'src/xdisp.c')
-rw-r--r-- | src/xdisp.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index c41b7f3c8cb..08958f44575 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -28244,6 +28244,9 @@ x_draw_vertical_border (struct window *w) if (FRAME_HAS_VERTICAL_SCROLL_BARS (XFRAME (w->frame))) return; + /* Note: It is necessary to redraw bot the left and the right + borders, for when only this single window W is being + redisplayed. */ if (!WINDOW_RIGHTMOST_P (w) && !WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_RIGHT (w)) { @@ -28257,8 +28260,8 @@ x_draw_vertical_border (struct window *w) FRAME_RIF (f)->draw_vertical_window_border (w, x1, y0, y1); } - else if (!WINDOW_LEFTMOST_P (w) - && !WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_LEFT (w)) + if (!WINDOW_LEFTMOST_P (w) + && !WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_LEFT (w)) { int x0, x1, y0, y1; |