diff --git a/libcef/browser_webview_mac.mm b/libcef/browser_webview_mac.mm index 2a88c4207..3031894a7 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; }