Fix building on Windows
This commit is contained in:
parent
4342480473
commit
bb71b09452
1 changed files with 3 additions and 1 deletions
|
@ -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_)
|
||||
|
|
Loading…
Reference in a new issue