1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-21 12:03:55 -08:00

(x_after_update_window_line): Don't run the code

clearing in borders for rows whose visible height is 0.
This commit is contained in:
Gerd Moellmann 2001-10-30 17:28:03 +00:00
parent 3f99f94823
commit 259cf6bcbb
2 changed files with 7 additions and 3 deletions

View file

@ -1,5 +1,8 @@
2001-10-30 Gerd Moellmann <gerd@gnu.org>
* xterm.c (x_after_update_window_line): Don't run the code
clearing in borders for rows whose visible height is 0.
* xdisp.c (clear_garbaged_frames): Redraw the frame only if its
resized_p flag is set. If not set, use the much less flickering
method previously used.

View file

@ -770,7 +770,7 @@ x_after_update_window_line (desired_row)
{
struct window *w = updated_window;
struct frame *f;
int width;
int width, height;
xassert (w);
@ -791,9 +791,10 @@ x_after_update_window_line (desired_row)
&& desired_row->full_width_p
&& (f = XFRAME (w->frame),
width = FRAME_INTERNAL_BORDER_WIDTH (f),
width != 0))
width != 0)
&& (height = desired_row->visible_height,
height > 0))
{
int height = desired_row->visible_height;
int y = WINDOW_TO_FRAME_PIXEL_Y (w, max (0, desired_row->y));
/* Internal border is drawn below the tool bar. */