diff --git a/libcef/browser_webview_mac.mm b/libcef/browser_webview_mac.mm index 9ccd98fa7..e04234cbd 100644 --- a/libcef/browser_webview_mac.mm +++ b/libcef/browser_webview_mac.mm @@ -149,6 +149,11 @@ browser_->UIT_GetWebViewHost()->KeyEvent(theEvent); } +- (void)flagsChanged:(NSEvent *)theEvent { + if (browser_ && browser_->UIT_GetWebView()) + browser_->UIT_GetWebViewHost()->KeyEvent(theEvent); +} + - (BOOL)isOpaque { return YES; }