acme: do not redraw body on every tag change
fixes #5 http://bitbucket.org/rsc/plan9port/issue/5/ http://groups.google.com/group/plan9port-dev/t/e679347ecaa05cff http://codereview.appspot.com/95041
This commit is contained in:
@@ -190,7 +190,7 @@ winresize(Window *w, Rectangle r, int safe, int keepextra)
|
||||
/* If needed, resize & redraw body. */
|
||||
r1 = r;
|
||||
r1.min.y = y;
|
||||
if(tagresized || !safe || !eqrect(w->body.all, r1)){
|
||||
if(!safe || !eqrect(w->body.all, r1)){
|
||||
oy = y;
|
||||
if(y+1+w->body.fr.font->height <= r.max.y){ /* room for one line */
|
||||
r1.min.y = y;
|
||||
|
||||
Reference in New Issue
Block a user