let -foreground_background_dual_position switch control the new feature introduced in last commit

This commit is contained in:
Kang Yu 2024-11-22 21:58:48 -08:00
parent 21e664b4c0
commit 9334f516a1

View file

@ -2456,10 +2456,10 @@ namespace PersistentWindows.Common
if (hwnd == IntPtr.Zero || IsTaskBar(hwnd))
return;
if (!enableDualPosSwitch)
return;
if (strict_dps_check)
{
if (!enableDualPosSwitch)
return;
if (!dualPosSwitchWindows.Contains(hwnd))
return;
}