mirror of
https://github.com/electron/electron.git
synced 2026-01-25 23:38:18 -05:00
Handle redispatch in devtools undocked windows
This commit is contained in:
@@ -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
Submodule vendor/brightray updated: 717d92968d...30b18de454
Reference in New Issue
Block a user