mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 13:05:38 +02:00
rename a variable
This commit is contained in:
parent
573b453704
commit
b392ac84f9
2 changed files with 4 additions and 4 deletions
|
@ -119,7 +119,7 @@ namespace PersistentWindows.Common
|
|||
public bool enhancedOffScreenFix = false;
|
||||
public bool fixUnminimizedWindow = true;
|
||||
public bool autoRestoreMissingWindows = false;
|
||||
public bool autoRestoreLiveWindows = 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 launchOncePerProcessId = true;
|
||||
private int restoreTimes = 0; //multiple passes need to fully restore
|
||||
private Object restoreLock = new object();
|
||||
|
@ -882,7 +882,7 @@ namespace PersistentWindows.Common
|
|||
{
|
||||
PromptSessionRestore();
|
||||
}
|
||||
if (autoRestoreLiveWindows && !monitorApplications.ContainsKey(displayKey))
|
||||
if (autoRestoreLiveWindowsFromDb && !monitorApplications.ContainsKey(displayKey))
|
||||
{
|
||||
CaptureApplicationsOnCurrentDisplays(displayKey, immediateCapture: true);
|
||||
Log.Event("auto restore from db");
|
||||
|
@ -1028,7 +1028,7 @@ namespace PersistentWindows.Common
|
|||
{
|
||||
RestoreSnapshot(MaxSnapshots + 1);
|
||||
}
|
||||
else if (db_exist && autoRestoreLiveWindows)
|
||||
else if (db_exist && autoRestoreLiveWindowsFromDb)
|
||||
{
|
||||
Log.Event("auto restore from db");
|
||||
restoringFromDB = true;
|
||||
|
|
|
@ -269,7 +269,7 @@ if not errorlevel 1 goto wait_to_finish";
|
|||
auto_restore_missing_windows = true;
|
||||
break;
|
||||
case "-auto_restore_new_display_session_from_db=0":
|
||||
pwp.autoRestoreLiveWindows = false;
|
||||
pwp.autoRestoreLiveWindowsFromDb = false;
|
||||
Log.Error("turn off auto restore db for new session");
|
||||
break;
|
||||
case "-invoke_multi_window_process_only_once=0":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue