Skip to content

Commit

Permalink
fix: emit swipe event on macOS (#19353)
Browse files Browse the repository at this point in the history
  • Loading branch information
trop[bot] authored and codebytere committed Jul 22, 2019
1 parent 7771886 commit e64d407
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions atom/browser/api/atom_api_browser_window.cc
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ BrowserWindow::BrowserWindow(v8::Isolate* isolate,
InitWith(isolate, wrapper);

#if defined(OS_MACOSX)
if (!window()->has_frame())
OverrideNSWindowContentView(web_contents->managed_web_contents());
OverrideNSWindowContentView(web_contents->managed_web_contents());
#endif

// Init window after everything has been setup.
Expand Down

0 comments on commit e64d407

Please sign in to comment.