Handle redispatch in devtools undocked windows

This commit is contained in:
Kevin Sawicki 2016-06-17 10:27:53 -07:00
parent e0f06d582d
commit 3bc4f188ef
2 changed files with 3 additions and 3 deletions

View file

@ -24,8 +24,8 @@ void CommonWebContentsDelegate::HandleKeyboardEvent(
ExitFullscreenModeForTab(source);
NSWindow* window = event.os_event.window;
if (window && [window isKindOfClass:[AtomNSWindow class]]) {
[((AtomNSWindow*)window) redispatchKeyEvent:event.os_event];
if ([window respondsToSelector:@selector(redispatchKeyEvent:)]) {
[(id)window redispatchKeyEvent:event.os_event];
}
}

2
vendor/brightray vendored

@ -1 +1 @@
Subproject commit 717d92968d7959814060b9409c4720ab647bd90e
Subproject commit 30b18de454d1c57818ffd9545556affb6f500061