summaryrefslogtreecommitdiff
path: root/sys/src/cmd/rio/xfid.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@centraldogma>2011-10-13 06:18:57 +0200
committercinap_lenrek <cinap_lenrek@centraldogma>2011-10-13 06:18:57 +0200
commit205a39474c0a7ec55bdde53612db8f704779fbf2 (patch)
tree97cf4c02992155b09d4f0ded013d722614feba97 /sys/src/cmd/rio/xfid.c
parent97a86f27664756380aa9421266b1e365c0c7cabf (diff)
rio: use -scroll parameter from attach message
Diffstat (limited to 'sys/src/cmd/rio/xfid.c')
-rw-r--r--sys/src/cmd/rio/xfid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/src/cmd/rio/xfid.c b/sys/src/cmd/rio/xfid.c
index a13b6afed..9d4a32c45 100644
--- a/sys/src/cmd/rio/xfid.c
+++ b/sys/src/cmd/rio/xfid.c
@@ -161,6 +161,7 @@ xfidattach(Xfid *x)
err = Eunkid;
newlymade = FALSE;
hideit = 0;
+ scrollit = scrolling;
if(x->aname[0] == 'N'){ /* N 100,100, 200, 200 - old syntax */
n = x->aname+1;
@@ -189,7 +190,7 @@ xfidattach(Xfid *x)
border(i, r, Selborder, display->black, ZP);
if(pid == 0)
pid = -1; /* make sure we don't pop a shell! - UGH */
- w = new(i, hideit, scrolling, pid, nil, nil, nil);
+ w = new(i, hideit, scrollit, pid, nil, nil, nil);
flushimage(display, 1);
newlymade = TRUE;
}else