From bc441709ca1398c1fa676c80747585b9251b49a4 Mon Sep 17 00:00:00 2001 From: Bryan Roe Date: Fri, 20 Sep 2019 16:58:39 -0700 Subject: [PATCH] Update Mouse Capture, to detect ibeam on FreeBSD --- meshcore/KVM/Linux/linux_kvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshcore/KVM/Linux/linux_kvm.c b/meshcore/KVM/Linux/linux_kvm.c index 6e2ba25..8f77375 100644 --- a/meshcore/KVM/Linux/linux_kvm.c +++ b/meshcore/KVM/Linux/linux_kvm.c @@ -737,7 +737,7 @@ void* kvm_server_mainloop(void* parm) if (strcmp(name, "top_side") == 0) { curcursor = KVM_MouseCursor_SIZENS; } if (strcmp(name, "watch") == 0) { curcursor = KVM_MouseCursor_WAIT; } if (strcmp(name, "top_side") == 0) { curcursor = KVM_MouseCursor_SIZENS; } - if (strcmp(name, "xterm") == 0) { curcursor = KVM_MouseCursor_IBEAM; } + if (strcmp(name, "xterm") == 0 || strcmp(name, "ibeam") == 0) { curcursor = KVM_MouseCursor_IBEAM; } x11_exports->XFree(name); ((unsigned short*)buffer)[0] = (unsigned short)htons((unsigned short)MNG_KVM_MOUSE_CURSOR); // Write the type