diff --git a/atom/browser/native_window.cc b/atom/browser/native_window.cc index 2ce6779d6205..6db53df28aca 100644 --- a/atom/browser/native_window.cc +++ b/atom/browser/native_window.cc @@ -620,7 +620,7 @@ void NativeWindow::ScheduleUnresponsiveEvent(int ms) { void NativeWindow::NotifyWindowUnresponsive() { window_unresposive_closure_.Cancel(); - if (!is_closed_ && !HasModalDialog()) + if (!is_closed_ && !HasModalDialog() && IsEnabled()) FOR_EACH_OBSERVER(NativeWindowObserver, observers_, OnRendererUnresponsive());