ref: 4c2a52f8c16e432f14b7642c9abd064df92abc99
parent: 0ae050c485857a73ba52b0101a2449fd19b7840b
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Tue Nov 24 23:31:30 EST 2015
rio: allow reading the image of a hidden window thru the window file
--- a/sys/src/cmd/rio/xfid.c
+++ b/sys/src/cmd/rio/xfid.c
@@ -796,11 +796,11 @@
case Qwindow:
i = w->i;
- r = w->screenr;
- if(i == nil || Dx(r)<=0){+ if(i == nil){filsysrespond(x->fs, x, &fc, Enowindow);
return;
}
+ r = i->r;
goto caseImage;
case Qscreen:
--
⑨