aboutsummaryrefslogtreecommitdiff
path: root/src/cmd
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-12-21 22:10:52 +0000
committerrsc <devnull@localhost>2005-12-21 22:10:52 +0000
commit768d880d82bde39af74f5fc5d832cbc9cf3d5c58 (patch)
treec264625bc3e9c416a1c6ff7f5af5fda1cd76c7bd /src/cmd
parent82d3a08d01e8d374dd7764ed8998f38ae50d8299 (diff)
downloadplan9port-768d880d82bde39af74f5fc5d832cbc9cf3d5c58.tar.gz
plan9port-768d880d82bde39af74f5fc5d832cbc9cf3d5c58.tar.bz2
plan9port-768d880d82bde39af74f5fc5d832cbc9cf3d5c58.zip
try autoexpand by default
Diffstat (limited to 'src/cmd')
-rw-r--r--src/cmd/acme/wind.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/acme/wind.c b/src/cmd/acme/wind.c
index a6651743..36aa9985 100644
--- a/src/cmd/acme/wind.c
+++ b/src/cmd/acme/wind.c
@@ -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);
@@ -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