#369, #388, #392: turn off auto-restore new window off by default

This commit is contained in:
Kang Yu 2025-03-17 16:30:49 -07:00
parent 557a3bbddb
commit aacaefc205
2 changed files with 4 additions and 4 deletions

View file

@ -120,7 +120,7 @@ namespace PersistentWindows.Common
public bool fixUnminimizedWindow = true;
public bool autoRestoreMissingWindows = false;
public bool autoRestoreLiveWindowsFromDb = true; //for new display session, autorestore live windows using data from db (without resurrecting dead one)
public bool autoRestoreNewWindowToLastCapture = true;
public bool autoRestoreNewWindowToLastCapture = false;
public bool launchOncePerProcessId = true;
private int restoreTimes = 0; //multiple passes need to fully restore
private Object restoreLock = new object();

View file

@ -76,7 +76,7 @@ if not errorlevel 1 goto wait_to_finish";
bool enhanced_offscreen_fix = false;
bool auto_restore_missing_windows = false;
bool auto_restore_from_db_at_startup = false;
bool auto_restore_last_capture_at_startup = true;
bool auto_restore_last_capture_at_startup = false;
bool launch_once_per_process_id = true;
bool check_upgrade = true;
bool auto_upgrade = false;
@ -263,8 +263,8 @@ if not errorlevel 1 goto wait_to_finish";
case "-auto_restore_existing_window_to_last_capture=0":
auto_restore_last_capture_at_startup = false;
break;
case "-auto_restore_new_window_to_last_capture=0":
pwp.autoRestoreNewWindowToLastCapture = false;
case "-auto_restore_new_window_to_last_capture=1":
pwp.autoRestoreNewWindowToLastCapture = true;
break;
case "-auto_restore_missing_windows":
case "-auto_restore_missing_windows=1":