emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r103718: Remove an apparently unneces


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r103718: Remove an apparently unnecessary XClearWindow call.
Date: Tue, 22 Mar 2011 14:15:52 -0400
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 103718
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Tue 2011-03-22 14:15:52 -0400
message:
  Remove an apparently unnecessary XClearWindow call.
  
  * src/xterm.c (x_clear_frame): Remove XClearWindow call.  This appears
  not to be necessary, and produces flickering.
modified:
  src/ChangeLog
  src/xterm.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2011-03-20 23:58:23 +0000
+++ b/src/ChangeLog     2011-03-22 18:15:52 +0000
@@ -1,3 +1,8 @@
+2011-03-22  Chong Yidong  <address@hidden>
+
+       * xterm.c (x_clear_frame): Remove XClearWindow call.  This appears
+       not to be necessary, and produces flickering.
+
 2011-03-20  Glenn Morris  <address@hidden>
 
        * config.in: Remove file.

=== modified file 'src/xterm.c'
--- a/src/xterm.c       2011-03-11 06:57:50 +0000
+++ b/src/xterm.c       2011-03-22 18:15:52 +0000
@@ -2928,10 +2928,14 @@
   /* We don't set the output cursor here because there will always
      follow an explicit cursor_to.  */
   BLOCK_INPUT;
-  XClearWindow (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f));
-
-  /* We have to clear the scroll bars, too.  If we have changed
-     colors or something like that, then they should be notified.  */
+
+  /* The following calls have been commented out because they do not
+     seem to accomplish anything, apart from causing flickering during
+     window resize.  */
+  /* 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.  */
   x_scroll_bar_clear (f);
 
 #if defined (USE_GTK) && defined (USE_TOOLKIT_SCROLL_BARS)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]