simon-svn: putty: simon
Commits to Tartarus CVS repository.
tartarus-commits at lists.tartarus.org
Sun Feb 16 16:40:45 GMT 2014
SVN root: svn://svn.tartarus.org/sgt
Changes by: simon
Revision: 10138
Date: 2014-02-16 16:40:45 +0000 (Sun, 16 Feb 2014)
Log message (11 lines):
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.
Modified files:
U putty/terminal.c
U putty/windows/window.c
Links:
http://svn.tartarus.org/sgt/?rev=10138&view=rev
http://svn.tartarus.org/sgt/putty/terminal.c?rev=10138&r1=10137&r2=10138
http://svn.tartarus.org/sgt/putty/windows/window.c?rev=10138&r1=10137&r2=10138
More information about the tartarus-commits
mailing list