Add back window check
This commit is contained in:
parent
c9fdd52f7e
commit
754c4654d4
1 changed files with 2 additions and 1 deletions
|
@ -23,6 +23,7 @@ void CommonWebContentsDelegate::HandleKeyboardEvent(
|
||||||
if (event.windowsKeyCode == ui::VKEY_ESCAPE && is_html_fullscreen())
|
if (event.windowsKeyCode == ui::VKEY_ESCAPE && is_html_fullscreen())
|
||||||
ExitFullscreenModeForTab(source);
|
ExitFullscreenModeForTab(source);
|
||||||
|
|
||||||
|
if (event.os_event.window)
|
||||||
[(EventDispatchingWindow*)event.os_event.window redispatchKeyEvent:event.os_event];
|
[(EventDispatchingWindow*)event.os_event.window redispatchKeyEvent:event.os_event];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue