I have found that if I attach to an already connected session the keyboard becomes messed up badly. Namely, when I press a key the result seems random. I'm running head revision server on SuSE 42.3 and a win32 stock client.
I've not tested disconnect followed by attach. Anyway, I think I tracked down the problem. See attached patch. I think the bug was introduced in r21178.
I had seen the problem, I was meant to take a look at some point - thanks for beating me to it.
Applied in r21239.
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2083