]> khamidou — GitHub mirrors - electron.git/commitdiff
win: Mouse position is not notify icon's position
authorCheng Zhao <zcbenz@gmail.com>
Mon, 4 May 2015 03:37:23 +0000 (11:37 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 4 May 2015 03:37:23 +0000 (11:37 +0800)
atom/browser/ui/win/notify_icon.cc

index 4c227c8044aed43085e081e63eb77319ee5ae5aa..99b7153631af2fa645f883f55c1e7ad98beb120e 100644 (file)
@@ -49,7 +49,7 @@ void NotifyIcon::HandleClickEvent(const gfx::Point& cursor_pos,
                                   bool left_mouse_click) {
   // Pass to the observer if appropriate.
   if (left_mouse_click) {
-    NotifyClicked(cursor_pos);
+    NotifyClicked();
     return;
   }