aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-03-22 17:24:09 -0700
committerPaul Eggert2011-03-22 17:24:09 -0700
commit2c520ab5fb6054f0f54804301e36d519387ccbab (patch)
tree0ec880a6bd0d3b82ea93caa1802601f31f2f7e67 /src
parent8af8e70ee535bd2d657a034e1452f78925c9ca38 (diff)
parent9d0da923ebd2b78abb6e02f0b90cfe9d818eb301 (diff)
downloademacs-2c520ab5fb6054f0f54804301e36d519387ccbab.tar.gz
emacs-2c520ab5fb6054f0f54804301e36d519387ccbab.zip
Merge from mainline.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog9
-rw-r--r--src/xterm.c10
2 files changed, 13 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 7e9bec9b6e9..007a21e0353 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,4 +1,4 @@
12011-03-22 Paul Eggert <eggert@cs.ucla.edu> 12011-03-23 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * coding.c (encode_coding_raw_text): Avoid unnecessary test 3 * coding.c (encode_coding_raw_text): Avoid unnecessary test
4 the first time through the loop, since we know p0 < p1 then. 4 the first time through the loop, since we know p0 < p1 then.
@@ -22,8 +22,6 @@
22 * scroll.c (do_scrolling): Work around GCC bug 48228. 22 * scroll.c (do_scrolling): Work around GCC bug 48228.
23 See <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48228>. 23 See <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48228>.
24 24
252011-03-21 Paul Eggert <eggert@cs.ucla.edu>
26
27 * frame.c (Fmodify_frame_parameters): Simplify loop counter. 25 * frame.c (Fmodify_frame_parameters): Simplify loop counter.
28 This also avoids a warning with gcc -Wstrict-overflow. 26 This also avoids a warning with gcc -Wstrict-overflow.
29 (validate_x_resource_name): Simplify count usage. 27 (validate_x_resource_name): Simplify count usage.
@@ -125,6 +123,11 @@
125 * callproc.c (call_process_cleanup): Now static. 123 * callproc.c (call_process_cleanup): Now static.
126 (relocate_fd): Rename locals to avoid shadowing. 124 (relocate_fd): Rename locals to avoid shadowing.
127 125
1262011-03-22 Chong Yidong <cyd@stupidchicken.com>
127
128 * xterm.c (x_clear_frame): Remove XClearWindow call. This appears
129 not to be necessary, and produces flickering.
130
1282011-03-20 Glenn Morris <rgm@gnu.org> 1312011-03-20 Glenn Morris <rgm@gnu.org>
129 132
130 * config.in: Remove file. 133 * 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)