Showing the changes to devwsys (1 of 2 files). Show all
Unified · Split
| @@ -402,8 +402,9 @@ fs_read(Ixp9Req *r) { · 401 unmodified lines | ||
| 402 | 402 | ixp_respond(r, nil); |
| 403 | 403 | return; |
| 404 | 404 | case FsFWctl: |
| 405 | − // XXX TODO: visible, current | |
| 406 | − sprint(buf, "%11d %11d %11d %11d %s %s ", w->orig.x + w->screenr.min.x, w->orig.y + w->screenr.min.y, w->screenr.max.x, w->screenr.max.y, w-> visible ? "visible" : "hidden", "current"); | |
| 405 | + // XXX TODO: current | |
| 406 | + s = w-> visible ? "visible" : "hidden"; | |
| 407 | + sprint(buf, "%11d %11d %11d %11d %s %s ", w->orig.x + w->screenr.min.x, w->orig.y + w->screenr.min.y, w->screenr.max.x, w->screenr.max.y, s, "current"); | |
| 407 | 408 | ixp_srv_readbuf(r, buf, strlen(buf)); |
| 408 | 409 | ixp_respond(r, nil); |
| 409 | 410 | return; |