Add support for forwarded resize request to VNC module

This feature was added to the RFB community wiki on 2020-12-22. See
commit a6dab64825b2ce4e9b47b8c9541619b94b7d908b in the rfbproto
repository
This commit is contained in:
matt335672
2025-08-21 12:28:10 +01:00
parent 3700867e87
commit 0ff175c85e
4 changed files with 185 additions and 31 deletions
+7
View File
@@ -31,6 +31,8 @@
#define CURRENT_MOD_VER 4
struct timers_oneshot;
/* Screen used for ExtendedDesktopSize / Set DesktopSize */
struct vnc_screen
{
@@ -188,6 +190,11 @@ struct vnc
struct vnc_screen_layout server_layout;
enum vnc_resize_status resize_status;
enum vnc_resize_support_status resize_supported;
/* forwarded resize */
// This occurs when the VNC server forwards a resize request
// elsewhere (RFB_EDS_REQUEST_FORWARDED)
struct timers_oneshot *forward_timer;
struct vnc_screen_layout forwarded_layout;
};
/*