char next_update_incremental;
struct fb_update_req client_interest_area;
- uint8_t needs_updated;
+ uint8_t update_allowed;
uint8_t sending;
};
return NEEDMORE;
outputf("RFB: UpdateRequest");
- state->needs_updated = 1;
+ state->update_allowed = 1;
memcpy(&state->client_interest_area, state->data,
sizeof(struct fb_update_req));
outputf("RFB FSM: ok");
/* Might as well send now... */
- if (state->needs_updated && !state->sending) {
+ if (state->update_allowed && !state->sending) {
start_send(pcb, state);
}
state->state = ST_BEGIN;
state->readpos = 0;
state->writepos = 0;
- state->needs_updated = 0;
+ state->update_allowed = 0;
state->sending = 0;
/* XXX: update_server_info() should be called from the 64ms timer, and deal