]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
Stop sending release events for mouse wheel 'buttons' in X mouse mode.
authorSimon Tatham <anakin@pobox.com>
Sun, 16 Feb 2014 16:40:45 +0000 (16:40 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 16 Feb 2014 16:40:45 +0000 (16:40 +0000)
commita0ee633a74748b70cac10b3de4829c86018c7298
tree448fb1f8fad5f5b425e200e1c3c14bdd2efa3f49
parentf4e7f26e7495072564d484b7b998914bcba2097b
Stop sending release events for mouse wheel 'buttons' in X mouse mode.

On Windows (X mouse reporting of the mouse wheel isn't currently done
by the Unix front end, though I'm shortly about to fix that too) a
mouse wheel event is translated into a virtual button, and we send
both a press and a release of that button to terminal.c, which encodes
both in X mouse reporting escape sequences and passes them on to the
server. This isn't consistent with what xterm does - scroll-wheel
events are encoded _like_ button presses, but differ semantically in
that they don't have matching releases. So we're updating to match
xterm.

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