#158, add switch to disable auto restore window to last capture

This commit is contained in:
Kang Yu 2024-11-18 11:08:28 -08:00
parent b392ac84f9
commit 9e63a2b853
2 changed files with 7 additions and 2 deletions

View file

@ -254,9 +254,12 @@ if not errorlevel 1 goto wait_to_finish";
case "-redraw_desktop":
redraw_desktop = true;
break;
case "-auto_restore_last_capture_at_startup=0":
case "-auto_restore_existing_window_to_last_capture=0":
auto_restore_last_capture_at_startup = false;
break;
case "-auto_restore_new_window_to_last_capture=0":
pwp.autoRestoreNewWindowToLastCapture = false;
break;
case "-auto_restore_missing_windows":
case "-auto_restore_missing_windows=1":
auto_restore_missing_windows = true;