🎨
This commit is contained in:
parent
711c3abaeb
commit
13e554ab11
1 changed files with 1 additions and 2 deletions
|
@ -23,8 +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);
|
||||||
|
|
||||||
EventDispatchingWindow* native_window = static_cast<EventDispatchingWindow*>(event.os_event.window);
|
[(EventDispatchingWindow*)event.os_event.window redispatchKeyEvent:event.os_event];
|
||||||
[native_window redispatchKeyEvent:event.os_event];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace atom
|
} // namespace atom
|
||||||
|
|
Loading…
Reference in a new issue