projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4bec78
)
Do not emit "unresponsive" when there is modal dialog
author
Cheng Zhao
<zcbenz@gmail.com>
Sun, 19 Jun 2016 07:55:45 +0000
(16:55 +0900)
committer
Cheng Zhao
<zcbenz@gmail.com>
Mon, 20 Jun 2016 02:16:41 +0000
(11:16 +0900)
atom/browser/native_window.cc
patch
|
blob
|
history
diff --git
a/atom/browser/native_window.cc
b/atom/browser/native_window.cc
index
2ce6779
..
6db53df
100644
(file)
--- 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());