turn on fix for #267 by default

This commit is contained in:
Kang Yu 2023-12-30 23:13:54 -08:00
parent e46f82eb42
commit 615ae5f6f7
2 changed files with 4 additions and 4 deletions

View file

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

View file

@ -203,9 +203,9 @@ namespace PersistentWindows.SystrayShell
auto_restore_from_db_at_startup = true;
auto_restore_missing_windows = true;
break;
case "-auto_restore_new_display_session_from_db=1":
pwp.autoRestoreLiveWindows = true;
Log.Error("turn on auto restore db for new session");
case "-auto_restore_new_display_session_from_db=0":
pwp.autoRestoreLiveWindows = false;
Log.Error("turn off auto restore db for new session");
break;
case "-invoke_multi_window_process_only_once=0":
launch_once_per_process_id = false;