]> khamidou — GitHub mirrors - electron.git/commit
Added `bounds` payload to tray `clicked` event
authorSeppe Stas <seppe.stas@fifthplay.com>
Tue, 2 Jun 2015 19:43:37 +0000 (21:43 +0200)
committerSeppe Stas <seppe.stas@fifthplay.com>
Tue, 2 Jun 2015 19:43:37 +0000 (21:43 +0200)
commitce8aa073eedc61b14bc10222ba3942f505379c61
treef5d956210e9c3c43fae48c9e0cdaa070dbb97665
parentad851547e0543cd73da5c968a512071fae38bc3a
Added `bounds` payload to tray `clicked` event

Used [Shell_NotifyIconGetRect function](https://msdn.microsoft.com/en-us/library/windows/desktop/dd378426) to get the bounds of the application's tray icon.
Note: only works with Windows 7 and later.

Related to #1159, #1500.
atom/browser/ui/win/notify_icon.cc