Revision d01f9595 ui/vnc.c

b/ui/vnc.c
796 796
    int isize;
797 797

  
798 798
    if (vnc_has_feature(vs, VNC_FEATURE_RICH_CURSOR)) {
799
        vnc_lock_output(vs);
799 800
        vnc_write_u8(vs,  VNC_MSG_SERVER_FRAMEBUFFER_UPDATE);
800 801
        vnc_write_u8(vs,  0);  /*  padding     */
801 802
        vnc_write_u16(vs, 1);  /*  # of rects  */
......
804 805
        isize = c->width * c->height * vs->clientds.pf.bytes_per_pixel;
805 806
        vnc_write_pixels_generic(vs, &pf, c->data, isize);
806 807
        vnc_write(vs, vs->vd->cursor_mask, vs->vd->cursor_msize);
808
        vnc_unlock_output(vs);
807 809
        return 0;
808 810
    }
809 811
    return -1;

Also available in: Unified diff