mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-29 07:02:12 +00:00
don't flash when already the active window
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3177 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
caa9dffb2c
commit
42b4577802
2 changed files with 3 additions and 2 deletions
|
@ -1124,7 +1124,8 @@ void Sys_SendKeyEvents (void)
|
||||||
void Sys_ServerActivity(void)
|
void Sys_ServerActivity(void)
|
||||||
{
|
{
|
||||||
#ifndef SERVERONLY
|
#ifndef SERVERONLY
|
||||||
FlashWindow(mainwindow, true);
|
if (GetActiveWindow() != mainwindow)
|
||||||
|
FlashWindow(mainwindow, true);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -965,7 +965,7 @@ void Sys_ServerActivity(void)
|
||||||
#undef STRINGF
|
#undef STRINGF
|
||||||
}
|
}
|
||||||
|
|
||||||
if (wnd)
|
if (wnd && GetActiveWindow() != wnd)
|
||||||
FlashWindow(wnd, true);
|
FlashWindow(wnd, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue