]> source.dussan.org Git - tigervnc.git/commit
Fix position for click and drag with EmulateMB
authorAlex Tanskanen <aleta@cendio.com>
Wed, 22 Apr 2020 10:15:06 +0000 (12:15 +0200)
committerPierre Ossman <ossman@cendio.se>
Tue, 26 May 2020 08:25:42 +0000 (10:25 +0200)
commit9197db186b65e1da2d59c60e103f7bf92353ab27
treebc6d246a7f709ef65cf7e182bed5d5b4260c6439
parent91559a36462d4653a1713831f8b8eb89aba24dce
Fix position for click and drag with EmulateMB

If you have the setting "Emulate middle mouse button" turned on, a click
and drag can fail if it is done very quickly. The position of the
initial click will be incorrect in such a case because the timeout will
delay events.
tests/unit/emulatemb.cxx
vncviewer/EmulateMB.cxx
vncviewer/EmulateMB.h