rio: allow reading the image of a hidden window thru the window file

This commit is contained in:
cinap_lenrek 2015-11-25 04:31:30 +01:00
parent 9ef4ba83f6
commit d7303af06d

View file

@ -796,11 +796,11 @@ xfidread(Xfid *x)
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: