aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2001-10-30 17:28:03 +0000
committerGerd Moellmann2001-10-30 17:28:03 +0000
commit259cf6bcbb84dd3a803e0a5faea6b1200fad2c96 (patch)
tree9836cf801d0ac094c0a8e7789ff164064e87cddd /src
parent3f99f94823be91d4c42c1a89671ff65de2505cd3 (diff)
downloademacs-259cf6bcbb84dd3a803e0a5faea6b1200fad2c96.tar.gz
emacs-259cf6bcbb84dd3a803e0a5faea6b1200fad2c96.zip
(x_after_update_window_line): Don't run the code
clearing in borders for rows whose visible height is 0.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/xterm.c7
2 files changed, 7 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 24e2c1bfc95..c159e930913 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
12001-10-30 Gerd Moellmann <gerd@gnu.org> 12001-10-30 Gerd Moellmann <gerd@gnu.org>
2 2
3 * xterm.c (x_after_update_window_line): Don't run the code
4 clearing in borders for rows whose visible height is 0.
5
3 * xdisp.c (clear_garbaged_frames): Redraw the frame only if its 6 * xdisp.c (clear_garbaged_frames): Redraw the frame only if its
4 resized_p flag is set. If not set, use the much less flickering 7 resized_p flag is set. If not set, use the much less flickering
5 method previously used. 8 method previously used.
diff --git a/src/xterm.c b/src/xterm.c
index 60b46bc3d12..706ca1463b9 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -770,7 +770,7 @@ x_after_update_window_line (desired_row)
770{ 770{
771 struct window *w = updated_window; 771 struct window *w = updated_window;
772 struct frame *f; 772 struct frame *f;
773 int width; 773 int width, height;
774 774
775 xassert (w); 775 xassert (w);
776 776
@@ -791,9 +791,10 @@ x_after_update_window_line (desired_row)
791 && desired_row->full_width_p 791 && desired_row->full_width_p
792 && (f = XFRAME (w->frame), 792 && (f = XFRAME (w->frame),
793 width = FRAME_INTERNAL_BORDER_WIDTH (f), 793 width = FRAME_INTERNAL_BORDER_WIDTH (f),
794 width != 0)) 794 width != 0)
795 && (height = desired_row->visible_height,
796 height > 0))
795 { 797 {
796 int height = desired_row->visible_height;
797 int y = WINDOW_TO_FRAME_PIXEL_Y (w, max (0, desired_row->y)); 798 int y = WINDOW_TO_FRAME_PIXEL_Y (w, max (0, desired_row->y));
798 799
799 /* Internal border is drawn below the tool bar. */ 800 /* Internal border is drawn below the tool bar. */