mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 04:55:39 +02:00
turn on fix for #267 by default
This commit is contained in:
parent
e46f82eb42
commit
615ae5f6f7
2 changed files with 4 additions and 4 deletions
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue