Revision 83755c17

b/vnc.c
2305 2305
        rects += vnc_update_client(vs, has_dirty);
2306 2306
        vs = vs->next;
2307 2307
    }
2308
    /* vd->timer could be NULL now if the last client disconnected,
2309
     * in this case don't update the timer */
2310
    if (vd->timer == NULL)
2311
        return;
2308 2312

  
2309 2313
    if (has_dirty && rects) {
2310 2314
        vd->timer_interval /= 2;

Also available in: Unified diff