I'm using Hyperland (server) and MacOS (client) and am on the main branch on both. It will work fine most of the time but then randomly the mouse will get stuck in MacOS. The only solution is to quit lan-mouse on MacOS and restart. I can make the issue happen faster by just moving my mouse in between screens very fast. Logs are completely normal (i.e. no different to when its working normally).
I'm assuming this has something to do with the MacOS client releasing capture and never getting it back (so it doesn't know when to switch back). It should be that while a server is controlling the mouse on the client, it should always be checking if the mouse wants to leave. I'm not sure on the architecture of lan-mouse but I don't see how these states could be decoupled.
A bandage fix could be either of the changes you proposed here: #164 (comment)
Otherwise pretty cool app