Don't call ReleaseCapture() on any mouse-button-up event. Instead,
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 21 Jan 2009 18:47:03 +0000 (18:47 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 21 Jan 2009 18:47:03 +0000 (18:47 +0000)
commit472f9eae6ae8fd07a9c234095afe385a5ac6f198
tree6965f4f599b64b70ca50b219f3690c20b13bb683
parent26d755bc9a2f4ed57aa8a678c7babed52e01dae9
Don't call ReleaseCapture() on any mouse-button-up event. Instead,
only call it when the _last_ mouse button comes back up. Otherwise,
xterm mouse tracking will lose a button-up event if you press down
two buttons, move the mouse outside the window, then release them
one at a time.

git-svn-id: svn://svn.tartarus.org/sgt/putty@8425 cda61777-01e9-0310-a592-d414129be87e
windows/window.c