aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2012-06-08 16:59:28 +0300
committerEli Zaretskii2012-06-08 16:59:28 +0300
commitd5c20fe8ca35d0a2b45bfad0a90553be04752d75 (patch)
tree230f4b28cef613d169c333b97f95db523ef2dd8e
parent03310646a582b3eee44eb685857a5dc31597ceed (diff)
downloademacs-d5c20fe8ca35d0a2b45bfad0a90553be04752d75.tar.gz
emacs-d5c20fe8ca35d0a2b45bfad0a90553be04752d75.zip
Revert inadvertent commit in dispnew.c as part of 2012-06-08T08:44:45Z!eliz@gnu.org.
src/dispnew.c (showing_window_margins_p): Undo last change, which was done due to an inadvertent commit. (adjust_frame_glyphs_for_frame_redisplay): Do call showing_window_margins_p.
-rw-r--r--src/ChangeLog7
-rw-r--r--src/dispnew.c7
2 files changed, 8 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index dd668212615..a05f6a3a4b5 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,10 @@
12012-06-08 Eli Zaretskii <eliz@gnu.org>
2
3 * dispnew.c (showing_window_margins_p): Undo last change, which
4 was done due to an inadvertent commit.
5 (adjust_frame_glyphs_for_frame_redisplay): Do call
6 showing_window_margins_p.
7
12012-06-08 Stefan Monnier <monnier@iro.umontreal.ca> 82012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2 9
3 * eval.c (Fmake_var_non_special): New primitive. 10 * eval.c (Fmake_var_non_special): New primitive.
diff --git a/src/dispnew.c b/src/dispnew.c
index fa9154bb6cc..a23f2b9a959 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -1962,7 +1962,6 @@ adjust_frame_glyphs (struct frame *f)
1962 1962
1963/* Return 1 if any window in the tree has nonzero window margins. See 1963/* Return 1 if any window in the tree has nonzero window margins. See
1964 the hack at the end of adjust_frame_glyphs_for_frame_redisplay. */ 1964 the hack at the end of adjust_frame_glyphs_for_frame_redisplay. */
1965#if 0
1966static int 1965static int
1967showing_window_margins_p (struct window *w) 1966showing_window_margins_p (struct window *w)
1968{ 1967{
@@ -1986,7 +1985,6 @@ showing_window_margins_p (struct window *w)
1986 } 1985 }
1987 return 0; 1986 return 0;
1988} 1987}
1989#endif
1990 1988
1991 1989
1992/* In the window tree with root W, build current matrices of leaf 1990/* In the window tree with root W, build current matrices of leaf
@@ -2175,10 +2173,7 @@ adjust_frame_glyphs_for_frame_redisplay (struct frame *f)
2175 any of the windows contain margins. I haven't been able 2173 any of the windows contain margins. I haven't been able
2176 to hunt down the reason, but for the moment this prevents 2174 to hunt down the reason, but for the moment this prevents
2177 the problem from manifesting. -- cyd */ 2175 the problem from manifesting. -- cyd */
2178#if 0 2176 && !showing_window_margins_p (XWINDOW (FRAME_ROOT_WINDOW (f))))
2179 && !showing_window_margins_p (XWINDOW (FRAME_ROOT_WINDOW (f)))
2180#endif
2181 )
2182 { 2177 {
2183 struct glyph_matrix *copy = save_current_matrix (f); 2178 struct glyph_matrix *copy = save_current_matrix (f);
2184 adjust_glyph_matrix (NULL, f->desired_matrix, 0, 0, matrix_dim); 2179 adjust_glyph_matrix (NULL, f->desired_matrix, 0, 0, matrix_dim);