Skip to content

Commit

Permalink
fix: tray.displayBalloon() does not work with custom icon on Windows (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
trop[bot] authored and codebytere committed Jul 30, 2019
1 parent c55bc81 commit cba1a94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atom/browser/api/atom_api_tray.cc
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ void Tray::DisplayBalloon(mate::Arguments* args,

#if defined(OS_WIN)
tray_icon_->DisplayBalloon(
icon.IsEmpty() ? NULL : icon->GetHICON(GetSystemMetrics(SM_CXSMICON)),
icon.IsEmpty() ? NULL : icon->GetHICON(GetSystemMetrics(SM_CXICON)),
title, content);
#else
tray_icon_->DisplayBalloon(icon.IsEmpty() ? gfx::Image() : icon->image(),
Expand Down

0 comments on commit cba1a94

Please sign in to comment.