1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2026-01-09 20:13:56 +00:00

Fixed Windows KVM bug when you have multiple displays with differing DPI settings

This commit is contained in:
Bryan Roe
2019-04-24 13:01:31 -07:00
parent b5d2d39860
commit bc3e970b5c
6 changed files with 82 additions and 63 deletions

View File

@@ -139,6 +139,10 @@ typedef enum MeshAgentHost_BatteryInfo
extern char* MeshAgentHost_BatteryInfo_STRINGS[];
#ifdef WIN32
typedef HRESULT (*DpiAwarenessFunc)(PROCESS_DPI_AWARENESS);
#endif
typedef struct MeshAgentHostContainer
{
void* chain;
@@ -156,6 +160,11 @@ typedef struct MeshAgentHostContainer
ILibWebClient_StateObject controlChannel;
struct sockaddr_in6* proxyServer;
#ifdef WIN32
void *shCore;
DpiAwarenessFunc dpiAwareness;
#endif
int localScript;
int version;
int capabilities; // Extra agent capabilities indicated to the server from MeshCommand_AuthInfo_CapabilitiesMask