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/CMsgReader.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/CMsgReader.cxx')
-rw-r--r-- | common/rfb/CMsgReader.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/rfb/CMsgReader.cxx b/common/rfb/CMsgReader.cxx index 8bcdbfd0..d7cbc2fd 100644 --- a/common/rfb/CMsgReader.cxx +++ b/common/rfb/CMsgReader.cxx @@ -202,6 +202,10 @@ bool CMsgReader::readMsg() handler->supportsQEMUKeyEvent(); ret = true; break; + case pseudoEncodingExtendedMouseButtons: + handler->supportsExtendedMouseButtons(); + ret = true; + break; default: ret = readRect(dataRect, rectEncoding); break; |