diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2013-09-09 20:47:43 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2013-09-09 20:47:43 +0400 |
commit | 0750a308d0e72331dacf30b6fa176cb289c6ff87 (patch) | |
tree | 7e6038bd078950f99ae6acb3e236a37e1774ecd4 /src/dispnew.c | |
parent | 71bd1a008412d223ffa16a5eabd51771b8c94e50 (diff) |
Review and drop old frame resize hack.
* frame.h (struct frame): Remove force_flush_display_p.
* dispnew.c (update_frame): Adjust user and don't call
flush_frame here. The comment has said that there was an issues
with redisplaying fringes, but I don't see any differences with
and without this hack. Hopefully we can continue without it.
* xdisp.c (clear_garbaged_frames): Adjust user and do not clear
current frame matrices twice if resized_p is set.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r-- | src/dispnew.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index 74ecfa88bd..a42b3da5fc 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -3061,16 +3061,6 @@ update_frame (struct frame *f, bool force_p, bool inhibit_hairy_id_p) /* Update windows. */ paused_p = update_window_tree (root_window, force_p); update_end (f); - - /* This flush is a performance bottleneck under X, - and it doesn't seem to be necessary anyway (in general). - It is necessary when resizing the window with the mouse, or - at least the fringes are not redrawn in a timely manner. ++kfs */ - if (f->force_flush_display_p) - { - flush_frame (f); - f->force_flush_display_p = 0; - } } else { |