avoid hiding commander window when activated

This commit is contained in:
Kang Yu 2024-05-14 21:58:36 -07:00
parent 8f73b7fba3
commit 90b2a2f2c6

View file

@ -752,6 +752,11 @@ namespace PersistentWindows.Common
IntPtr fgwnd = GetForegroundWindow();
if (!PersistentWindowProcessor.IsBrowserWindow(fgwnd))
{
if (browserWindowActivated)
{
StartAliveTimer(6, 1000);
return;
}
Visible = false;
return;
}