diff --git a/meshcore/KVM/Windows/input.c b/meshcore/KVM/Windows/input.c index c15715c..fe24af6 100644 --- a/meshcore/KVM/Windows/input.c +++ b/meshcore/KVM/Windows/input.c @@ -129,6 +129,10 @@ int KVM_CursorHashToMSG(int hashcode) { ret = KVM_MouseCursor_WAIT; } + else if (hashcode == -495298424) + { + ret = KVM_MouseCursor_COL_RESIZE; + } return(ret); } @@ -220,6 +224,8 @@ void CALLBACK KVMWinEventProc( GetCursorInfo(&info); gCurrentCursor = KVM_CursorHashToMSG(KVM_GetCursorHash(info.hCursor, NULL, 0)); + //printf(" MOUSE CURSOR => %d, %d\n", gCurrentCursor, KVM_GetCursorHash(info.hCursor, NULL, 0)); + buffer = (char*)ILibMemory_SmartAllocate(5); ((unsigned short*)buffer)[0] = (unsigned short)htons((unsigned short)MNG_KVM_MOUSE_CURSOR); // Write the type ((unsigned short*)buffer)[1] = (unsigned short)htons((unsigned short)5); // Write the size diff --git a/meshcore/KVM/Windows/input.h b/meshcore/KVM/Windows/input.h index 852df46..61ff5ad 100644 --- a/meshcore/KVM/Windows/input.h +++ b/meshcore/KVM/Windows/input.h @@ -20,6 +20,7 @@ typedef enum KVM_MouseCursors { KVM_MouseCursor_NONE = 14, KVM_MouseCursor_NOTALLOWED = 15, + KVM_MouseCursor_COL_RESIZE = 16, KVM_MouseCursor_NOCHANGE = -1, KVM_MouseCursor_ARROW = 0, KVM_MouseCursor_APPSTARTING = 1,