turn on fast restore by default

This commit is contained in:
Kang Yu 2024-11-22 14:50:20 -08:00
parent ddbbe88032
commit d4742d6127
2 changed files with 3 additions and 3 deletions

View file

@ -131,7 +131,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 fastRestore = false;
public bool fastRestore = true;
public bool enableDualPosSwitch = true;
private HashSet<IntPtr> dualPosSwitchWindows = new HashSet<IntPtr>();

View file

@ -159,8 +159,8 @@ if not errorlevel 1 goto wait_to_finish";
case "-enable_auto_restore_by_manual_capture":
pwp.manualNormalSession = true;
break;
case "-fast_restore":
pwp.fastRestore = true;
case "-fast_restore=0":
pwp.fastRestore = false;
break;
case "-delay_restart":
delay_restart = 1;