From 753b4053311ff1437d99726970b1e7e6bf38249b Mon Sep 17 00:00:00 2001 From: aliguori Date: Mon, 16 Feb 2009 14:59:30 +0000 Subject: Support multiple VNC clients (Brian Kress) Change structure associated with a display from VncState to a new structure VncDisplay. Remove client specific fields from VncDisplay. Remove display specific fields from VncState. Maintain a linked list of VncStates per VncDisplay structure, update as necessary. When updates/resizes/copies come in from the hardware, dispatch to all clients. Signed-off-by: Brian Kress Signed-off-by: Anthony Liguori git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6621 c046a42c-6fe2-441c-8c8c-71466251a162 --- vnc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vnc.h') diff --git a/vnc.h b/vnc.h index 56c6a8f..6981606 100644 --- a/vnc.h +++ b/vnc.h @@ -101,6 +101,7 @@ enum { #define VNC_FEATURE_WMVI 3 #define VNC_FEATURE_TIGHT 4 #define VNC_FEATURE_ZLIB 5 +#define VNC_FEATURE_COPYRECT 6 #define VNC_FEATURE_RESIZE_MASK (1 << VNC_FEATURE_RESIZE) #define VNC_FEATURE_HEXTILE_MASK (1 << VNC_FEATURE_HEXTILE) @@ -108,5 +109,6 @@ enum { #define VNC_FEATURE_WMVI_MASK (1 << VNC_FEATURE_WMVI) #define VNC_FEATURE_TIGHT_MASK (1 << VNC_FEATURE_TIGHT) #define VNC_FEATURE_ZLIB_MASK (1 << VNC_FEATURE_ZLIB) +#define VNC_FEATURE_COPYRECT_MASK (1 << VNC_FEATURE_COPYRECT) #endif /* __VNCTIGHT_H */ -- cgit v1.1