turn off dual position switching by default

This commit is contained in:
Kang Yu 2023-12-07 20:49:00 -08:00
parent bef3b5065e
commit 82fa1833d5
2 changed files with 4 additions and 1 deletions

View file

@ -108,7 +108,7 @@ namespace PersistentWindows.Common
public int haltRestore = 3000; //milliseconds to wait to finish current halted restore and restart next one
private HashSet<IntPtr> restoredWindows = new HashSet<IntPtr>();
private HashSet<IntPtr> topmostWindowsFixed = new HashSet<IntPtr>();
public bool enableSmartForeBackground = true;
public bool enableSmartForeBackground = false;
private Dictionary<string, string> realProcessFileName = new Dictionary<string, string>()
{

View file

@ -167,6 +167,9 @@ namespace PersistentWindows.SystrayShell
case "-foreground_background_dual_position=0":
pwp.enableSmartForeBackground = false;
break;
case "-foreground_background_dual_position=1":
pwp.enableSmartForeBackground = true;
break;
case "-prompt_session_restore":
prompt_session_restore = true;
break;