diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-04-29 17:02:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-29 17:02:53 +0200 |
commit | 8c4783919b1955c08c9e7107a2e58a1501c4fdad (patch) | |
tree | c650c55e20f4833329e4e5061e950da773a69189 /widget/windows | |
parent | 32c067857c532bf651e5e6946ec1a67772eb2252 (diff) | |
parent | 80f9b75efa08ea449937298b791ff278cbf5fa22 (diff) | |
download | UXP-8c4783919b1955c08c9e7107a2e58a1501c4fdad.tar UXP-8c4783919b1955c08c9e7107a2e58a1501c4fdad.tar.gz UXP-8c4783919b1955c08c9e7107a2e58a1501c4fdad.tar.lz UXP-8c4783919b1955c08c9e7107a2e58a1501c4fdad.tar.xz UXP-8c4783919b1955c08c9e7107a2e58a1501c4fdad.zip |
Merge pull request #295 from janekptacijarabaci/_native_52ESR_events_auxclick_1
UI Events - implement auxclick
Diffstat (limited to 'widget/windows')
-rw-r--r-- | widget/windows/WinUtils.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/widget/windows/WinUtils.cpp b/widget/windows/WinUtils.cpp index 0a57ad439..bd42e78f6 100644 --- a/widget/windows/WinUtils.cpp +++ b/widget/windows/WinUtils.cpp @@ -1138,7 +1138,8 @@ WinUtils::GetIsMouseFromTouch(EventMessage aEventMessage) const uint32_t MOZ_T_I_SIGNATURE = TABLET_INK_TOUCH | TABLET_INK_SIGNATURE; const uint32_t MOZ_T_I_CHECK_TCH = TABLET_INK_TOUCH | TABLET_INK_CHECK; return ((aEventMessage == eMouseMove || aEventMessage == eMouseDown || - aEventMessage == eMouseUp || aEventMessage == eMouseDoubleClick) && + aEventMessage == eMouseUp || aEventMessage == eMouseAuxClick || + aEventMessage == eMouseDoubleClick) && (GetMessageExtraInfo() & MOZ_T_I_SIGNATURE) == MOZ_T_I_CHECK_TCH); } |