From b73b3e4c6b6f85c5fcf567a16261a17e8eff2561 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Mon, 16 Aug 1993 08:12:32 +0000 Subject: [PATCH] When reconfiguring a window, clear it. This prevents garbage from being left in the internal border of the window. --- v7/src/microcode/x11term.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/v7/src/microcode/x11term.c b/v7/src/microcode/x11term.c index b9a0e4167..93e857c68 100644 --- a/v7/src/microcode/x11term.c +++ b/v7/src/microcode/x11term.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: x11term.c,v 1.22 1993/07/19 21:06:48 cph Exp $ +$Id: x11term.c,v 1.23 1993/08/16 08:12:32 cph Exp $ Copyright (c) 1989-93 Massachusetts Institute of Technology @@ -412,6 +412,7 @@ DEFUN (xterm_reconfigure, (xw, width, height), (XW_Y_CSIZE (xw)) = y_csize; (XW_CHARACTER_MAP (xw))= new_char_map; (XW_HIGHLIGHT_MAP (xw))= new_hl_map; + XClearWindow ((XW_DISPLAY (xw)), (XW_WINDOW (xw))); xterm_dump_contents (xw, 0, 0, x_csize, y_csize); xterm_update_normal_hints (xw); XFlush (XW_DISPLAY (xw)); -- 2.25.1