diff options
Diffstat (limited to 'vnc')
-rw-r--r-- | vnc/vnc.c | 4 | ||||
-rw-r--r-- | vnc/vnc.h | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -1015,6 +1015,10 @@ lib_mod_connect(struct vnc* v) } if (error == 0) { + error = v->server_reset(v, v->mod_width, v->mod_height, v->mod_bpp); + } + if (error == 0) + { /* FrambufferUpdateRequest */ init_stream(s, 8192); out_uint8(s, 3); @@ -69,6 +69,7 @@ struct vnc int box_left, int box_top, int box_right, int box_bottom, int x, int y, char* data, int data_len); + int (*server_reset)(struct vnc* v, int width, int height, int bpp); /* common */ long handle; /* pointer to self as long */ long wm; |