Handle redispatch in devtools undocked windows
This commit is contained in:
parent
e0f06d582d
commit
3bc4f188ef
2 changed files with 3 additions and 3 deletions
|
@ -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
2
vendor/brightray
vendored
|
@ -1 +1 @@
|
|||
Subproject commit 717d92968d7959814060b9409c4720ab647bd90e
|
||||
Subproject commit 30b18de454d1c57818ffd9545556affb6f500061
|
Loading…
Add table
Reference in a new issue