diff --git a/atom/browser/native_window_mac.h b/atom/browser/native_window_mac.h index 3dfb88d5398f..f934b400ee03 100644 --- a/atom/browser/native_window_mac.h +++ b/atom/browser/native_window_mac.h @@ -85,7 +85,7 @@ class NativeWindowMac : public NativeWindow, std::string GetRepresentedFilename() override; void SetDocumentEdited(bool edited) override; bool IsDocumentEdited() override; - void SetIgnoreMouseEvents(bool ignore) override; + void SetIgnoreMouseEvents(bool ignore, bool) override; void SetContentProtection(bool enable) override; void SetBrowserView(NativeBrowserView* browser_view) override; void SetParentWindow(NativeWindow* parent) override; diff --git a/atom/browser/native_window_mac.mm b/atom/browser/native_window_mac.mm index ad6936341c69..417984f53a6f 100644 --- a/atom/browser/native_window_mac.mm +++ b/atom/browser/native_window_mac.mm @@ -1412,7 +1412,7 @@ bool NativeWindowMac::IsDocumentEdited() { return [window_ isDocumentEdited]; } -void NativeWindowMac::SetIgnoreMouseEvents(bool ignore) { +void NativeWindowMac::SetIgnoreMouseEvents(bool ignore, bool) { [window_ setIgnoresMouseEvents:ignore]; }