diff options
author | Pierre Ossman <ossman@cendio.se> | 2023-02-25 15:16:18 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2024-08-12 16:46:15 +0200 |
commit | 9fae0999d3efa7a04698d639f7bd842ede7a83d2 (patch) | |
tree | 6dda527a4b03cd15f7292e95fb13883e434f3367 /win/rfb_win32/SDisplay.h | |
parent | 5c3371d8e7e58fd873699c5309e5a74ed0e9fac4 (diff) | |
download | tigervnc-9fae0999d3efa7a04698d639f7bd842ede7a83d2.tar.gz tigervnc-9fae0999d3efa7a04698d639f7bd842ede7a83d2.zip |
Better type for pointer button mask
This is a very limited bit field, so use an 8 bit type to clearly show
how many bits are available.
Diffstat (limited to 'win/rfb_win32/SDisplay.h')
-rw-r--r-- | win/rfb_win32/SDisplay.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rfb_win32/SDisplay.h b/win/rfb_win32/SDisplay.h index 76780d9e..d4cf23e4 100644 --- a/win/rfb_win32/SDisplay.h +++ b/win/rfb_win32/SDisplay.h @@ -80,7 +80,7 @@ namespace rfb { void handleClipboardRequest() override; void handleClipboardAnnounce(bool available) override; void handleClipboardData(const char* data) override; - void pointerEvent(const Point& pos, int buttonmask) override; + void pointerEvent(const Point& pos, uint8_t buttonmask) override; void keyEvent(uint32_t keysym, uint32_t keycode, bool down) override; // -=- Clipboard events |