Add debug setting LiruFlashWhenMinimized, because flashing taskbar is annoying!

This commit is contained in:
Lirusaito
2016-02-22 20:47:55 -05:00
parent 3227a44e0f
commit ac03994861
2 changed files with 12 additions and 1 deletions

View File

@@ -3500,7 +3500,7 @@ void process_improved_im(LLMessageSystem *msg, void **user_data)
}
LLWindow* viewer_window = gViewerWindow->getWindow();
if (viewer_window && viewer_window->getMinimized())
if (viewer_window && viewer_window->getMinimized() && gSavedSettings.getBOOL("LiruFlashWhenMinimized"))
{
viewer_window->flashIcon(5.f);
}