mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 04:55:39 +02:00
turn on -auto_restore_new_window_to_last_capture again
This commit is contained in:
parent
f7a1f92343
commit
8da7d9b4bc
2 changed files with 3 additions and 3 deletions
|
@ -122,7 +122,7 @@ namespace PersistentWindows.Common
|
||||||
public bool fixUnminimizedWindow = true;
|
public bool fixUnminimizedWindow = true;
|
||||||
public bool autoRestoreMissingWindows = false;
|
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 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;
|
public bool launchOncePerProcessId = true;
|
||||||
private int restoreTimes = 0; //multiple passes need to fully restore
|
private int restoreTimes = 0; //multiple passes need to fully restore
|
||||||
private Object restoreLock = new object();
|
private Object restoreLock = new object();
|
||||||
|
|
|
@ -270,8 +270,8 @@ if not errorlevel 1 goto wait_to_finish";
|
||||||
case "-auto_restore_existing_window_to_last_capture=1":
|
case "-auto_restore_existing_window_to_last_capture=1":
|
||||||
auto_restore_last_capture_at_startup = true;
|
auto_restore_last_capture_at_startup = true;
|
||||||
break;
|
break;
|
||||||
case "-auto_restore_new_window_to_last_capture=1":
|
case "-auto_restore_new_window_to_last_capture=0":
|
||||||
pwp.autoRestoreNewWindowToLastCapture = true;
|
pwp.autoRestoreNewWindowToLastCapture = false;
|
||||||
break;
|
break;
|
||||||
case "-pos_match_threshold":
|
case "-pos_match_threshold":
|
||||||
set_pos_match_threshold = true;
|
set_pos_match_threshold = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue