diff options
| author | Eli Zaretskii | 2013-02-17 18:22:11 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2013-02-17 18:22:11 +0200 |
| commit | fd80c659d21fa9f42ae0f862fb51580afa63fdd0 (patch) | |
| tree | e290d63815efc9263d1834ee3a416f7412c70a86 /src | |
| parent | 6d4cb47e63cfd964ad94fb3e6b1821e5ee38f566 (diff) | |
| download | emacs-fd80c659d21fa9f42ae0f862fb51580afa63fdd0.tar.gz emacs-fd80c659d21fa9f42ae0f862fb51580afa63fdd0.zip | |
Fix bug #13723 with redrawing vertical border in GUI sessions.
src/xdisp.c (x_draw_vertical_border): For a window that is neither
the leftmost nor the rightmost, redraw both the left and the right
vertical borders.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/xdisp.c | 7 |
2 files changed, 11 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index f4bee9f0905..06207f6690e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2013-02-17 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * xdisp.c (x_draw_vertical_border): For a window that is neither | ||
| 4 | the leftmost nor the rightmost, redraw both the left and the right | ||
| 5 | vertical borders. (Bug#13723) | ||
| 6 | |||
| 1 | 2013-02-15 Eli Zaretskii <eliz@gnu.org> | 7 | 2013-02-15 Eli Zaretskii <eliz@gnu.org> |
| 2 | 8 | ||
| 3 | * w32proc.c (new_child): Free up to 2 slots of dead processes at a | 9 | * w32proc.c (new_child): Free up to 2 slots of dead processes at a |
diff --git a/src/xdisp.c b/src/xdisp.c index c0dafc820ce..9d2994f0728 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -28422,6 +28422,9 @@ x_draw_vertical_border (struct window *w) | |||
| 28422 | if (FRAME_HAS_VERTICAL_SCROLL_BARS (XFRAME (w->frame))) | 28422 | if (FRAME_HAS_VERTICAL_SCROLL_BARS (XFRAME (w->frame))) |
| 28423 | return; | 28423 | return; |
| 28424 | 28424 | ||
| 28425 | /* Note: It is necessary to redraw bot the left and the right | ||
| 28426 | borders, for when only this single window W is being | ||
| 28427 | redisplayed. */ | ||
| 28425 | if (!WINDOW_RIGHTMOST_P (w) | 28428 | if (!WINDOW_RIGHTMOST_P (w) |
| 28426 | && !WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_RIGHT (w)) | 28429 | && !WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_RIGHT (w)) |
| 28427 | { | 28430 | { |
| @@ -28435,8 +28438,8 @@ x_draw_vertical_border (struct window *w) | |||
| 28435 | 28438 | ||
| 28436 | FRAME_RIF (f)->draw_vertical_window_border (w, x1, y0, y1); | 28439 | FRAME_RIF (f)->draw_vertical_window_border (w, x1, y0, y1); |
| 28437 | } | 28440 | } |
| 28438 | else if (!WINDOW_LEFTMOST_P (w) | 28441 | if (!WINDOW_LEFTMOST_P (w) |
| 28439 | && !WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_LEFT (w)) | 28442 | && !WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_LEFT (w)) |
| 28440 | { | 28443 | { |
| 28441 | int x0, x1, y0, y1; | 28444 | int x0, x1, y0, y1; |
| 28442 | 28445 | ||