* xterm.c (x_clear_frame): Reinstate the XClearWindow call.
authorJan Djärv <jan.h.d@swipnet.se>
Mon, 21 Nov 2011 18:01:04 +0000 (19:01 +0100)
committerJan Djärv <jan.h.d@swipnet.se>
Mon, 21 Nov 2011 18:01:04 +0000 (19:01 +0100)
src/ChangeLog
src/xterm.c

index e732df5..ef9aa4a 100644 (file)
@@ -1,3 +1,7 @@
+2011-11-21  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xterm.c (x_clear_frame): Reinstate the XClearWindow call.
+
 2011-11-21  Chong Yidong  <cyd@gnu.org>
 
        * window.c (Fnext_window, Fprevious_window): Doc fix.
index de7703c..063794b 100644 (file)
@@ -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.  */