STATE_EOF
ctx->state = STATE_EOF;
if (ctx->state == STATE_EOF)
ctx->state = (ctx->win_ctx == NULL) ? STATE_EOF : STATE_READ;