mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-12-30 08:22:29 +00:00
[client] spice: protocol updates for performance and agent support
Note: agent support is not complete at this point due to lack of documentation.
This commit is contained in:
@@ -132,4 +132,10 @@ typedef struct SpiceMsgcMousePress
|
||||
SpiceMsgcMousePress,
|
||||
SpiceMsgcMouseRelease;
|
||||
|
||||
|
||||
// spice is missing these defines, the offical reference library incorrectly uses the VD defines
|
||||
#define COMMON_CAPS_BYTES (((SPICE_COMMON_CAP_MINI_HEADER + 32) / 8) & ~3)
|
||||
#define COMMON_SET_CAPABILITY(caps, index) \
|
||||
{ (caps)[(index) / 32] |= (1 << ((index) % 32)); }
|
||||
|
||||
#pragma pack(pop)
|
||||
Reference in New Issue
Block a user