electron/atom
Nitish Sakhawalkar af4f08e030 fix: notify focus change right away rather not on next tick (#14453)
* fix: Notify focus change right away, not on next tick

* fix: emit the JS blur/focus events on next tick to avoid race condition

* address feedback from review

* fix: bind deferred Emit() calls to a WeakPtr

This is so that the deferred Emit() calls will be canceled
if the TopLevelWindow is destroyed.

* chore: remove wip/test code cruft

* fix: make linter happy

* Enable disabled tests

* refactor: cleaner impl of EmitEventSoon()

* Revert "Merge branch 'fix-win-focus' of github.com:electron/electron into fix-win-focus"

This reverts commit 90576806eb271d059f0a215c67e9b4b04f7396a4, reversing
changes made to 9c13e47779a3af78fe0970c1f3d6cd040a5354e6.

* Restore 704722c1, which was removed in error.

We apologise again for the fault in the subtitles. Those responsible for sacking the people who have just been sacked have been sacked.
2018-09-07 14:30:41 -04:00
..
app Default LoadV8Snapshot changed in C66 2018-06-19 11:49:46 +10:00
browser fix: notify focus change right away rather not on next tick (#14453) 2018-09-07 14:30:41 -04:00
common backport debugger fix (#14481) 2018-09-06 10:57:41 -07:00
node also format missing .cc files 2018-04-18 20:48:45 -04:00
renderer fix: use OS process handle to clear object registry (#14364) 2018-08-28 22:55:42 -07:00
utility also format missing .cc files 2018-04-18 20:48:45 -04:00