summaryrefslogtreecommitdiffstats
path: root/widget/InputData.cpp
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
commitd8bbc7858622b6d9c278469aab701ca0b609cddf (patch)
treeeff41dc61d9f714852212739e6b3738b82a2af87 /widget/InputData.cpp
parentReleasing progress-linux version 125.0.3-1~progress7.99u1. (diff)
downloadfirefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.tar.xz
firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.zip
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'widget/InputData.cpp')
-rw-r--r--widget/InputData.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/widget/InputData.cpp b/widget/InputData.cpp
index 3d1695dd8e..8f06a51c1c 100644
--- a/widget/InputData.cpp
+++ b/widget/InputData.cpp
@@ -303,6 +303,9 @@ MouseInput::MouseInput(const WidgetMouseEventBase& aMouseEvent)
case eMouseHitTest:
mType = MOUSE_HITTEST;
break;
+ case eContextMenu:
+ mType = MOUSE_CONTEXTMENU;
+ break;
default:
MOZ_ASSERT_UNREACHABLE("Mouse event type not supported");
break;
@@ -364,6 +367,9 @@ WidgetMouseEvent MouseInput::ToWidgetEvent(nsIWidget* aWidget) const {
case MOUSE_HITTEST:
msg = eMouseHitTest;
break;
+ case MOUSE_CONTEXTMENU:
+ msg = eContextMenu;
+ break;
default:
MOZ_ASSERT_UNREACHABLE(
"Did not assign a type to WidgetMouseEvent in MouseInput");