diff options
-rw-r--r-- | webkit/api/src/win/WebInputEventFactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/api/src/win/WebInputEventFactory.cpp b/webkit/api/src/win/WebInputEventFactory.cpp index d772a54..96fa197 100644 --- a/webkit/api/src/win/WebInputEventFactory.cpp +++ b/webkit/api/src/win/WebInputEventFactory.cpp @@ -170,7 +170,7 @@ WebMouseEvent WebInputEventFactory::mouseEvent(HWND hwnd, UINT message, else if (wparam & MK_MBUTTON) result.button = WebMouseEvent::ButtonMiddle; else if (wparam & MK_RBUTTON) - result.button = WebMouseEvent::ButtonMiddle; + result.button = WebMouseEvent::ButtonRight; else result.button = WebMouseEvent::ButtonNone; break; |