From e7cfd277bd7b5fda95431481c027fb16023cc654 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Mon, 21 Nov 2011 19:01:04 +0100 Subject: [PATCH] * xterm.c (x_clear_frame): Reinstate the XClearWindow call. --- src/ChangeLog | 4 ++++ src/xterm.c | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index e732df52729..ef9aa4a907f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2011-11-21 Jan Djärv + + * xterm.c (x_clear_frame): Reinstate the XClearWindow call. + 2011-11-21 Chong Yidong * window.c (Fnext_window, Fprevious_window): Doc fix. diff --git a/src/xterm.c b/src/xterm.c index de7703c2ec7..063794bae65 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -2963,9 +2963,7 @@ x_clear_frame (struct frame *f) follow an explicit cursor_to. */ BLOCK_INPUT; - /* The following call is commented out because it does not seem to accomplish - anything, apart from causing flickering during window resize. */ - /* XClearWindow (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f)); */ + XClearWindow (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f)); /* We have to clear the scroll bars. If we have changed colors or something like that, then they should be notified. */ -- 2.11.4.GIT