Xpra: Ticket #2264: win32 control-c does not run cleanups from mingw shell

This causes the keyboard state to get wedged if it was the remote end that triggered the control-c as the control key will not be unpressed by clear_keys_pressed.

Some excellent links:



Mon, 08 Apr 2019 15:16:34 GMT - totaamwin32: owner, status changed

Also affects the "attach" subcommand, the handler never runs.


Mon, 08 Apr 2019 16:24:32 GMT - totaamwin32: priority, summary changed

Only affects mingw shell (and probably also cygwin).

Found some ancient related issues:

Maybe the patch never got merged? Not sure where the right place is in msys2, https://github.com/msysgit/msys/blob/master/winsup/cygwin/exceptions.cc?


Mon, 08 Apr 2019 16:24:59 GMT - totaamwin32: attachment set

Patch for winsup/cygwin/...


Mon, 08 Apr 2019 16:45:43 GMT - totaamwin32: summary changed


Thu, 30 May 2019 15:20:59 GMT - totaamwin32: attachment set

simplte test case - updated to be python version agnostic


Mon, 17 Jun 2019 16:07:47 GMT - Antoine Martin: milestone changed


Sat, 23 Jan 2021 05:46:33 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2264