summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/mac/Plugins/Hosted/WebTextInputWindowController.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/mac/Plugins/Hosted/WebTextInputWindowController.m')
-rw-r--r--Source/WebKit/mac/Plugins/Hosted/WebTextInputWindowController.m9
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/WebKit/mac/Plugins/Hosted/WebTextInputWindowController.m b/Source/WebKit/mac/Plugins/Hosted/WebTextInputWindowController.m
index c168e6e..8b59d34 100644
--- a/Source/WebKit/mac/Plugins/Hosted/WebTextInputWindowController.m
+++ b/Source/WebKit/mac/Plugins/Hosted/WebTextInputWindowController.m
@@ -92,7 +92,14 @@
BOOL hadMarkedText = [_inputTextView hasMarkedText];
*string = nil;
-
+
+ // Let TSM know that a bottom input window would be created for marked text.
+ EventRef carbonEvent = (EventRef)[event eventRef];
+ if (carbonEvent) {
+ Boolean ignorePAH = true;
+ SetEventParameter(carbonEvent, 'iPAH', typeBoolean, sizeof(ignorePAH), &ignorePAH);
+ }
+
if (![[_inputTextView inputContext] handleEvent:event])
return NO;