ref: d7303af06d4725f7116d5dfa0d69603a5a1cd2b6
parent: 9ef4ba83f62761b517db23a16e2f61e5861aae23
author: cinap_lenrek <[email protected]>
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: