summaryrefslogtreecommitdiff
path: root/platform/javascript/display_server_javascript.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/javascript/display_server_javascript.h')
-rw-r--r--platform/javascript/display_server_javascript.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/javascript/display_server_javascript.h b/platform/javascript/display_server_javascript.h
index 1aa600c421..80ce772a79 100644
--- a/platform/javascript/display_server_javascript.h
+++ b/platform/javascript/display_server_javascript.h
@@ -67,7 +67,7 @@ private:
CursorShape cursor_shape = CURSOR_ARROW;
Point2i last_click_pos = Point2(-100, -100); // TODO check this again.
uint64_t last_click_ms = 0;
- int last_click_button_index = -1;
+ MouseButton last_click_button_index = MouseButton::NONE;
bool swap_cancel_ok = false;