diff options
author | Adam Halim <adaha@cendio.se> | 2024-10-04 10:09:36 +0200 |
---|---|---|
committer | Adam Halim <adaha@cendio.se> | 2024-10-22 14:52:36 +0200 |
commit | c40d8a4debbfbf98045ef25fcac91672f0cc1049 (patch) | |
tree | a83dcaf1dad87039047a8a45ec2a49a47646325e /common/rfb/CConnection.cxx | |
parent | 66287bd933e1d5426b7b6108afcc42ac9b3440a5 (diff) | |
download | tigervnc-c40d8a4debbfbf98045ef25fcac91672f0cc1049.tar.gz tigervnc-c40d8a4debbfbf98045ef25fcac91672f0cc1049.zip |
vncviewer: support for back/forward mouse buttons
This commit implements the pseudo-encoding ExtendedMouseButtons which
makes it possible to use the back/forward mouse buttons.
This commit contains work originally done by
PixelSmith <manny33@frontbuffer.com>.
Diffstat (limited to 'common/rfb/CConnection.cxx')
-rw-r--r-- | common/rfb/CConnection.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/rfb/CConnection.cxx b/common/rfb/CConnection.cxx index b4017dba..a6763c05 100644 --- a/common/rfb/CConnection.cxx +++ b/common/rfb/CConnection.cxx @@ -835,6 +835,7 @@ void CConnection::updateEncodings() encodings.push_back(pseudoEncodingContinuousUpdates); encodings.push_back(pseudoEncodingFence); encodings.push_back(pseudoEncodingQEMUKeyEvent); + encodings.push_back(pseudoEncodingExtendedMouseButtons); if (Decoder::supported(preferredEncoding)) { encodings.push_back(preferredEncoding); |