aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2011-03-22 14:15:52 -0400
committerChong Yidong2011-03-22 14:15:52 -0400
commitc59da222fa57399540a7c3d13c88209336cc5d01 (patch)
treea10524ee839bf6b7b40f0cbc1c7f6d9f1860bb1d /src
parent4b978a677c2f684d7988cdd2dccb73d109c6bb1e (diff)
downloademacs-c59da222fa57399540a7c3d13c88209336cc5d01.tar.gz
emacs-c59da222fa57399540a7c3d13c88209336cc5d01.zip
Remove an apparently unnecessary XClearWindow call.
* src/xterm.c (x_clear_frame): Remove XClearWindow call. This appears not to be necessary, and produces flickering.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xterm.c10
2 files changed, 12 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 6fa2d821565..f489a233683 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12011-03-22 Chong Yidong <cyd@stupidchicken.com>
2
3 * xterm.c (x_clear_frame): Remove XClearWindow call. This appears
4 not to be necessary, and produces flickering.
5
12011-03-20 Glenn Morris <rgm@gnu.org> 62011-03-20 Glenn Morris <rgm@gnu.org>
2 7
3 * config.in: Remove file. 8 * config.in: Remove file.
diff --git a/src/xterm.c b/src/xterm.c
index fd7ffd68e62..f87c22912a4 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -2928,10 +2928,14 @@ x_clear_frame (struct frame *f)
2928 /* We don't set the output cursor here because there will always 2928 /* We don't set the output cursor here because there will always
2929 follow an explicit cursor_to. */ 2929 follow an explicit cursor_to. */
2930 BLOCK_INPUT; 2930 BLOCK_INPUT;
2931 XClearWindow (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f));
2932 2931
2933 /* We have to clear the scroll bars, too. If we have changed 2932 /* The following calls have been commented out because they do not
2934 colors or something like that, then they should be notified. */ 2933 seem to accomplish anything, apart from causing flickering during
2934 window resize. */
2935 /* XClearWindow (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f)); */
2936
2937 /* We have to clear the scroll bars. If we have changed colors or
2938 something like that, then they should be notified. */
2935 x_scroll_bar_clear (f); 2939 x_scroll_bar_clear (f);
2936 2940
2937#if defined (USE_GTK) && defined (USE_TOOLKIT_SCROLL_BARS) 2941#if defined (USE_GTK) && defined (USE_TOOLKIT_SCROLL_BARS)