rio: allow reading the image of a hidden window thru the window file
This commit is contained in:
parent
9ef4ba83f6
commit
d7303af06d
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue