diff --git a/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs b/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs index 56c6b87..20b9297 100644 --- a/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs +++ b/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs @@ -122,7 +122,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 = false; + public bool autoRestoreNewWindowToLastCapture = true; public bool launchOncePerProcessId = true; private int restoreTimes = 0; //multiple passes need to fully restore private Object restoreLock = new object(); diff --git a/Ninjacrab.PersistentWindows.Solution/SystrayShell/Program.cs b/Ninjacrab.PersistentWindows.Solution/SystrayShell/Program.cs index 71a5bd5..37705b2 100644 --- a/Ninjacrab.PersistentWindows.Solution/SystrayShell/Program.cs +++ b/Ninjacrab.PersistentWindows.Solution/SystrayShell/Program.cs @@ -270,8 +270,8 @@ if not errorlevel 1 goto wait_to_finish"; case "-auto_restore_existing_window_to_last_capture=1": auto_restore_last_capture_at_startup = true; break; - case "-auto_restore_new_window_to_last_capture=1": - pwp.autoRestoreNewWindowToLastCapture = true; + case "-auto_restore_new_window_to_last_capture=0": + pwp.autoRestoreNewWindowToLastCapture = false; break; case "-pos_match_threshold": set_pos_match_threshold = true;