diff --git a/widget/windows/TSFTextStore.cpp b/widget/windows/TSFTextStore.cpp index 2f724396cb35..cfc7a0b1b59c 100644 --- a/widget/windows/TSFTextStore.cpp +++ b/widget/windows/TSFTextStore.cpp @@ -2416,6 +2416,13 @@ TSFTextStore::FlushPendingActions() selectionSet.mLength = static_cast(action.mSelectionLength); selectionSet.mReversed = action.mSelectionReversed; + DispatchEvent(selectionSet); + if (!selectionSet.mSucceeded) { + MOZ_LOG(sTextStoreLog, LogLevel::Error, + ("0x%p TSFTextStore::FlushPendingActions() " + "FAILED due to eSetSelection failure", this)); + break; + } break; } default: