From ab8a7c92447e4ea384f180eb0ebb22d60f4a23cd Mon Sep 17 00:00:00 2001 From: Ponchale Date: Tue, 5 Nov 2024 13:14:44 -0500 Subject: [PATCH] fix problem part II --- widget/WidgetEventImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widget/WidgetEventImpl.cpp b/widget/WidgetEventImpl.cpp index 8dcecf8f2f..f813e1f3e1 100644 --- a/widget/WidgetEventImpl.cpp +++ b/widget/WidgetEventImpl.cpp @@ -428,10 +428,10 @@ bool WidgetEvent::WillBeSentToRemoteProcess() const { nsIContent::FromEventTarget(mOriginalTarget)); } +bool WidgetEvent::IsIMERelatedEvent() const { return HasIMEEventMessage() || (IsQueryContentEvent() && mMessage != eQueryDropTargetHittest) || IsSelectionEvent(); - return HasIMEEventMessage() || IsQueryContentEvent() || IsSelectionEvent(); } bool WidgetEvent::IsUsingCoordinates() const {