From 339756abe30ae6366357f953a8577829915732cf Mon Sep 17 00:00:00 2001 From: Marc Andre Tanner Date: Wed, 6 Feb 2008 16:32:16 +0100 Subject: [PATCH] Optimize redraw in fullscreen layout. --- dvtm.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dvtm.c b/dvtm.c index 98c00b6..0573905 100644 --- a/dvtm.c +++ b/dvtm.c @@ -985,14 +985,13 @@ main(int argc, char *argv[]) { madtty_process(c->term); if(c != sel){ draw_content(c); - wnoutrefresh(c->window); + if(!isarrange(fullscreen)) + wnoutrefresh(c->window); } } } if(sel) { - if(isarrange(fullscreen)) - redrawwin(sel->window); draw_content(sel); wnoutrefresh(sel->window); }