diff options
author | jsorg71 <jsorg71> | 2005-08-24 01:09:33 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2005-08-24 01:09:33 +0000 |
commit | 7d891a1bde2f8287f333fda9acc88310d783da73 (patch) | |
tree | 5202a565b2bee120ed075a0cac95221b3f1e0427 /vnc | |
parent | 1881c8b1b847ef0de1c42f635ee9e10b99b5863e (diff) | |
download | xrdp-proprietary-7d891a1bde2f8287f333fda9acc88310d783da73.tar.gz xrdp-proprietary-7d891a1bde2f8287f333fda9acc88310d783da73.zip |
added server_reset(which uses demand_active) for resizing the rdp client
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; |