]> khamidou — GitHub mirrors - electron.git/commit
Delay the unresponsive message for a second, fixes #42. v0.1.5
authorCheng Zhao <zcbenz@gmail.com>
Tue, 23 Jul 2013 07:29:56 +0000 (15:29 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 23 Jul 2013 07:29:56 +0000 (15:29 +0800)
commite248e2ffc8e15073434b3fb62799eeb9a3063257
treeb602b7c28508b9dcae621276ae4640384ad90446
parent9efde9577aefa7348f4274ee22f0fbadc90bab0e
Delay the unresponsive message for a second, fixes #42.

It could happen that a window became responsive immediately after the
unresponsive message is sent (for example, the window was blocked by
showing a save as dialog), by delaying sending the unresponsive message
for a second, we can give the window a chance to whether it's really
unresponsive or not.
browser/native_window.cc
browser/native_window.h