if (count) { changed = 1; }
void disable_cursor_shape_updates(rfbScreenInfoPtr s) {	rfbClientIteratorPtr iter;	rfbClientPtr cl;	if (! s || ! s->clientHead) {		return;	}	iter = rfbGetClientIterator(s);	while( (cl = rfbClientIteratorNext(iter)) ) {		ClientData *cd;		cd = (ClientData *) cl->clientData;		if (cl->enableCursorShapeUpdates) {			cd->had_cursor_shape_updates = 1;		}		if (cl->enableCursorPosUpdates) {			cd->had_cursor_pos_updates = 1;		}				cl->enableCursorShapeUpdates = FALSE;		cl->enableCursorPosUpdates = FALSE;		cl->cursorWasChanged = FALSE;	}	rfbReleaseClientIterator(iter);}