diff --git a/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs b/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs index e9ed0c1..b152b68 100644 --- a/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs +++ b/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs @@ -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; }