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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user