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 4c227c8..99b7153 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;
   }