mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Fix building on Windows
This commit is contained in:
@@ -55,7 +55,9 @@ void NotifyIcon::HandleClickEvent(int modifiers,
|
||||
if (double_button_click) // double left click
|
||||
NotifyDoubleClicked(bounds, modifiers);
|
||||
else // single left click
|
||||
NotifyClicked(bounds, modifiers);
|
||||
NotifyClicked(bounds,
|
||||
display::Screen::GetScreen()->GetCursorScreenPoint(),
|
||||
modifiers);
|
||||
return;
|
||||
} else if (!double_button_click) { // single right click
|
||||
if (menu_model_)
|
||||
|
||||
Reference in New Issue
Block a user