ttry autoexpand by default - plan9port - [fork] Plan 9 from user space | |
git clone git://src.adamsgaard.dk/plan9port | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 768d880d82bde39af74f5fc5d832cbc9cf3d5c58 | |
parent 82d3a08d01e8d374dd7764ed8998f38ae50d8299 | |
Author: rsc | |
Date: Wed, 21 Dec 2005 22:10:52 +0000 ttry autoexpand by default Diffstat: M src/cmd/acme/wind.c | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- | |
diff --git a/src/cmd/acme/wind.c b/src/cmd/acme/wind.c | |
t@@ -24,6 +24,7 @@ wininit(Window *w, Window *clone, Rectangle r) w->tag.w = w; w->taglines = 1; + w->tagexpand = TRUE; w->body.w = w; w->id = ++winid; incref(&w->ref); t@@ -520,6 +521,7 @@ winsettag1(Window *w) br.max.x = br.min.x + Dx(b->r); br.max.y = br.min.y + Dy(b->r); draw(screen, br, b, nil, b->r.min); + winresize(w, w->r, TRUE, TRUE); } void |