Change the term_mouse interface a little so that it gets passed
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sat, 25 Jan 2003 16:16:45 +0000 (16:16 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sat, 25 Jan 2003 16:16:45 +0000 (16:16 +0000)
commitfc5b0934ce14797c486d3bfbf55ded37e2e4a8f6
tree30974e2d51b4d99eedc780f0325f6a93e9d0843a
parentb8ab6d0b296a17e31e7aaac096930bcdaa7d555d
Change the term_mouse interface a little so that it gets passed
both the raw and the cooked mouse button, with the mapping being done in
advance by the front-end.  This is useful because it allows the front-end to
use information other than the raw button (e.g. the modifier state) to decide
which cooked button to generate.
.
Front ends other than the Mac one are untested, but they just call
translate_button() themselves and pass the result to term_mouse().

git-svn-id: svn://svn.tartarus.org/sgt/putty@2721 cda61777-01e9-0310-a592-d414129be87e
mac/macterm.c
putty.h
terminal.c
unix/pterm.c
window.c