summaryrefslogtreecommitdiffstats
path: root/views/events
diff options
context:
space:
mode:
Diffstat (limited to 'views/events')
-rw-r--r--views/events/event_win.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/views/events/event_win.cc b/views/events/event_win.cc
index ad19185..cd1d715 100644
--- a/views/events/event_win.cc
+++ b/views/events/event_win.cc
@@ -34,24 +34,24 @@ ui::EventType EventTypeFromNative(NativeEvent native_event) {
case WM_KEYUP:
case WM_SYSKEYUP:
return ui::ET_KEY_RELEASED;
+ case WM_LBUTTONDBLCLK:
case WM_LBUTTONDOWN:
+ case WM_MBUTTONDBLCLK:
case WM_MBUTTONDOWN:
+ case WM_NCLBUTTONDBLCLK:
case WM_NCLBUTTONDOWN:
+ case WM_NCMBUTTONDBLCLK:
case WM_NCMBUTTONDOWN:
+ case WM_NCRBUTTONDBLCLK:
case WM_NCRBUTTONDOWN:
+ case WM_RBUTTONDBLCLK:
case WM_RBUTTONDOWN:
return ui::ET_MOUSE_PRESSED;
- case WM_LBUTTONDBLCLK:
case WM_LBUTTONUP:
- case WM_MBUTTONDBLCLK:
case WM_MBUTTONUP:
- case WM_NCLBUTTONDBLCLK:
case WM_NCLBUTTONUP:
- case WM_NCMBUTTONDBLCLK:
case WM_NCMBUTTONUP:
- case WM_NCRBUTTONDBLCLK:
case WM_NCRBUTTONUP:
- case WM_RBUTTONDBLCLK:
case WM_RBUTTONUP:
return ui::ET_MOUSE_RELEASED;
case WM_MOUSEMOVE: