From 63327145959e26193682e2b691a6027e26c1ce16 Mon Sep 17 00:00:00 2001 From: Adam Halim Date: Tue, 24 Sep 2024 15:55:21 +0200 Subject: Add server support for forward/back mouse buttons This commit adds support for the pseudo-encoding ExtendedMouseButtons in Xvnc and x0vncserver, which makes it possible to use to use the back/forward mouse buttons. This commit contains work originally done by PixelSmith . --- common/rfb/VNCSConnectionST.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/rfb/VNCSConnectionST.h') diff --git a/common/rfb/VNCSConnectionST.h b/common/rfb/VNCSConnectionST.h index d857ef32..17de9d01 100644 --- a/common/rfb/VNCSConnectionST.h +++ b/common/rfb/VNCSConnectionST.h @@ -123,7 +123,7 @@ namespace rfb { void queryConnection(const char* userName) override; void clientInit(bool shared) override; void setPixelFormat(const PixelFormat& pf) override; - void pointerEvent(const Point& pos, uint8_t buttonMask) override; + void pointerEvent(const Point& pos, uint16_t buttonMask) override; void keyEvent(uint32_t keysym, uint32_t keycode, bool down) override; void framebufferUpdateRequest(const Rect& r, -- cgit v1.2.3