]> asedeno.scripts.mit.edu Git - PuTTY.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)
commit7d394fc9e9c705770f6bde26b67df1b00ea82c64
tree448fb1f8fad5f5b425e200e1c3c14bdd2efa3f49
parent0f04cab1517cd158e2d959bf0879ae5983d163fd
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.

[originally from svn r10138]
terminal.c
windows/window.c