Commit fcca0ef5 authored by andersca@apple.com's avatar andersca@apple.com

2011-03-28 Anders Carlsson <andersca@apple.com>

        Reviewed by Sam Weinig.

        Beep when pressing a menu key equivalent when a plug-in has focus
        https://bugs.webkit.org/show_bug.cgi?id=57264
        <rdar://problem/8935597>

        We don't want the WKTextInputWindowController inputContext to be involved in interpretKeyEvents.

        * UIProcess/API/mac/WKView.mm:
        (-[WKView inputContext]):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82153 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent f62ffcd2
2011-03-28 Anders Carlsson <andersca@apple.com>
Reviewed by Sam Weinig.
Beep when pressing a menu key equivalent when a plug-in has focus
https://bugs.webkit.org/show_bug.cgi?id=57264
<rdar://problem/8935597>
We don't want the WKTextInputWindowController inputContext to be involved in interpretKeyEvents.
* UIProcess/API/mac/WKView.mm:
(-[WKView inputContext]):
2011-03-28 Anders Carlsson <andersca@apple.com>
Reviewed by Sam Weinig.
......
......@@ -1154,7 +1154,7 @@ static const short kIOHIDEventTypeScroll = 6;
}
- (NSTextInputContext *)inputContext {
if (_data->_pluginComplexTextInputIdentifier)
if (_data->_pluginComplexTextInputIdentifier && !_data->_isInInterpretKeyEvents)
return [[WKTextInputWindowController sharedTextInputWindowController] inputContext];
return [super inputContext];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment