summaryrefslogtreecommitdiff
path: root/src/dispnew.c
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2015-09-08 10:25:59 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2015-09-08 10:25:59 -0400
commitbc26305473ed59fe75b6efc3ba1c967f54c4c292 (patch)
tree7a2d283d327b717dea60cf43689c050b841897e0 /src/dispnew.c
parent645c8597e7f9fbc90ffe227d2be8ce383b0777ae (diff)
downloademacs-bc26305473ed59fe75b6efc3ba1c967f54c4c292.tar.gz
Remove a few simple cases of global redisplay
* src/dispnew.c (redraw_frame): Don't redisplay all frames. * src/xdisp.c (echo_area_display): Set the frame's `redisplay' bit rather than returning a "resized_p" boolean. (redisplay_internal): Adjust call accordingly. * src/xfaces.c (free_realized_faces): Don't redisplay all frames. (free_all_realized_faces): Set windows_or_buffers_changed so as to ease tracking of this undesirable situation.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 18afe50dd9b..645d4106e9e 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -3004,7 +3004,7 @@ redraw_frame (struct frame *f)
clear_frame (f);
clear_current_matrices (f);
update_end (f);
- windows_or_buffers_changed = 13;
+ fset_redisplay (f);
/* Mark all windows as inaccurate, so that every window will have
its redisplay done. */
mark_window_display_accurate (FRAME_ROOT_WINDOW (f), 0);