Skip to content

Commit

Permalink
Optimize redraw in fullscreen layout.
Browse files Browse the repository at this point in the history
  • Loading branch information
martanne committed Feb 6, 2008
1 parent dc9d62b commit 339756a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dvtm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 339756a

Please sign in to comment.