FIRE-18245: Taskbar icon only flashes if window is minimized, not if unfocused

Wed, 04 May 2016 10:42:05 +0200

author
Ansariel
date
Wed, 04 May 2016 10:42:05 +0200
changeset 48957
34ab2f0ccd16
parent 48956
d60f8a3a07c7
child 48958
7de7ac1d8dc3

FIRE-18245: Taskbar icon only flashes if window is minimized, not if unfocused

indra/llwindow/llwindowwin32.cpp file | annotate | diff | revisions
     1.1 --- a/indra/llwindow/llwindowwin32.cpp	Tue May 03 09:23:16 2016 +0200
     1.2 +++ b/indra/llwindow/llwindowwin32.cpp	Wed May 04 10:42:05 2016 +0200
     1.3 @@ -2888,7 +2888,7 @@
     1.4  
     1.5  void LLWindowWin32::flashIcon(F32 seconds)
     1.6  {
     1.7 -	if (getMinimized()) // <FS:CR> Moved this here from llviewermessage.cpp
     1.8 +	if (mWindowHandle && GetFocus() != mWindowHandle) // <FS:CR> Moved this here from llviewermessage.cpp
     1.9  	{
    1.10  		FLASHWINFO flash_info;
    1.11  

mercurial