aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/Viewport.h
diff options
context:
space:
mode:
Diffstat (limited to 'vncviewer/Viewport.h')
-rw-r--r--vncviewer/Viewport.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/vncviewer/Viewport.h b/vncviewer/Viewport.h
index d936c708..5f4c1ca7 100644
--- a/vncviewer/Viewport.h
+++ b/vncviewer/Viewport.h
@@ -70,7 +70,7 @@ public:
int handle(int event) override;
protected:
- void sendPointerEvent(const rfb::Point& pos, int buttonMask) override;
+ void sendPointerEvent(const rfb::Point& pos, uint8_t buttonMask) override;
private:
bool hasFocus();
@@ -81,7 +81,7 @@ private:
void flushPendingClipboard();
- void handlePointerEvent(const rfb::Point& pos, int buttonMask);
+ void handlePointerEvent(const rfb::Point& pos, uint8_t buttonMask);
static void handlePointerTimeout(void *data);
void resetKeyboard();
@@ -111,7 +111,7 @@ private:
PlatformPixelBuffer* frameBuffer;
rfb::Point lastPointerPos;
- int lastButtonMask;
+ uint8_t lastButtonMask;
typedef std::map<int, uint32_t> DownMap;
DownMap downKeySym;