diff --git a/include/fluent_tray.hpp b/include/fluent_tray.hpp index 438faea..a4604f2 100644 --- a/include/fluent_tray.hpp +++ b/include/fluent_tray.hpp @@ -939,6 +939,7 @@ namespace fluent_tray if(GetForegroundWindow() != hwnd_ && visible_) { if(!hide_menu_window()) { status_ = TrayStatus::FAILED ; + return false ; } }