[common] kvmfr: add a new frameSerial field to the KVMFRFrame struct
This new field is used so that when a new client connects an already connected client can identify any repeated frame that is sent and ignore it.
This commit is contained in:
1 parent
f4daa9f527
commit
b39f38350f
3 files changed
+5
-2
No files matched your search
@@ -28,7 +28,7 @@
|
||||
#include "types.h"
|
||||
|
||||
#define KVMFR_MAGIC "KVMFR---"
|
||||
#define KVMFR_VERSION 12
|
||||
#define KVMFR_VERSION 13
|
||||
|
||||
#define KVMFR_MAX_DAMAGE_RECTS 64
|
||||
|
||||
@@ -69,6 +69,7 @@ KVMFRCursor;
|
||||
typedef struct KVMFRFrame
|
||||
{
|
||||
uint32_t formatVer; // the frame format version number
|
||||
uint32_t frameSerial; // the unique frame number
|
||||
FrameType type; // the frame data type
|
||||
uint32_t width; // the frame width
|
||||
uint32_t height; // the frame height
|
||||
|
||||
Reference in new issue
Block a user