1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2026-02-17 09:59:06 +00:00

Update Mouse Capture, to detect ibeam on FreeBSD

This commit is contained in:
Bryan Roe
2019-09-20 16:58:39 -07:00
parent 6f2e2ed109
commit bc441709ca

View File

@@ -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