Mercurial > emacs
diff src/xterm.c @ 40514:a4363606beb1
(x_after_update_window_line): Don't run the code
clearing in borders for rows whose visible height is 0.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 30 Oct 2001 17:27:35 +0000 |
parents | 55065421f9e7 |
children | e2da1b3f3d94 |
line wrap: on
line diff
--- a/src/xterm.c Tue Oct 30 17:00:10 2001 +0000 +++ b/src/xterm.c Tue Oct 30 17:27:35 2001 +0000 @@ -770,7 +770,7 @@ { struct window *w = updated_window; struct frame *f; - int width; + int width, height; xassert (w); @@ -791,9 +791,10 @@ && desired_row->full_width_p && (f = XFRAME (w->frame), width = FRAME_INTERNAL_BORDER_WIDTH (f), - width != 0)) - { - int height = desired_row->visible_height; + width != 0) + && (height = desired_row->visible_height, + height > 0)) + { int y = WINDOW_TO_FRAME_PIXEL_Y (w, max (0, desired_row->y)); /* Internal border is drawn below the tool bar. */