[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/emacs-24 r111273: Fix bug #13723 with redra
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/emacs-24 r111273: Fix bug #13723 with redrawing vertical border in GUI sessions. |
Date: |
Sun, 17 Feb 2013 18:22:11 +0200 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 111273
fixes bug: http://debbugs.gnu.org/13723
committer: Eli Zaretskii <address@hidden>
branch nick: emacs-24
timestamp: Sun 2013-02-17 18:22:11 +0200
message:
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.
modified:
src/ChangeLog
src/xdisp.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2013-02-15 09:41:31 +0000
+++ b/src/ChangeLog 2013-02-17 16:22:11 +0000
@@ -1,3 +1,9 @@
+2013-02-17 Eli Zaretskii <address@hidden>
+
+ * 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. (Bug#13723)
+
2013-02-15 Eli Zaretskii <address@hidden>
* w32proc.c (new_child): Free up to 2 slots of dead processes at a
=== modified file 'src/xdisp.c'
--- a/src/xdisp.c 2013-02-08 14:27:04 +0000
+++ b/src/xdisp.c 2013-02-17 16:22:11 +0000
@@ -28422,6 +28422,9 @@
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))
{
@@ -28435,8 +28438,8 @@
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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/emacs-24 r111273: Fix bug #13723 with redrawing vertical border in GUI sessions.,
Eli Zaretskii <=