simon-git: putty (master): Simon Tatham
Commits to Tartarus CVS repository.
tartarus-commits at lists.tartarus.org
Thu Sep 3 19:37:48 BST 2015
TL;DR:
30e63c1 Ignore mouse events that didn't start with a click.
Repository: git://git.tartarus.org/simon/putty.git
On the web: http://tartarus.org/~simon-git/gitweb/?p=putty.git
Branch updated: master
Committer: Simon Tatham <anakin at pobox.com>
Date: 2015-09-03 19:37:48
commit 30e63c1059ff306fc086570967b914294c72ae65
web diff http://tartarus.org/~simon-git/gitweb/?p=putty.git;a=commitdiff;h=30e63c1059ff306fc086570967b914294c72ae65;hp=6744387924835792147f73644e1eed10e146b5c8
Author: Simon Tatham <anakin at pobox.com>
Date: Thu Sep 3 19:20:28 2015 +0100
Ignore mouse events that didn't start with a click.
On OS X GTK, when you click in a pterm that wasn't the active window,
the first click activates it but is swallowed by the windowing system
- but a subsequent tiny drag can still be taken as part of a selection
action, making it difficult to activate the window in order to paste
into it.
Fixed by ignoring mouse drags when the terminal.c mouse state was
NO_SELECTION; if we've seen one prior click then it should be
ABOUT_TO, or DRAGGING if we saw a double or triple click.
terminal.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
More information about the tartarus-commits
mailing list