From 6097ab4bc72f1662dc020bd01bee84c3e87a605b Mon Sep 17 00:00:00 2001 From: Kang Yu Date: Mon, 17 Mar 2025 16:36:03 -0700 Subject: [PATCH] turn off auto restore existing window to last capture --- Ninjacrab.PersistentWindows.Solution/SystrayShell/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ninjacrab.PersistentWindows.Solution/SystrayShell/Program.cs b/Ninjacrab.PersistentWindows.Solution/SystrayShell/Program.cs index 29223a4..25b6755 100644 --- a/Ninjacrab.PersistentWindows.Solution/SystrayShell/Program.cs +++ b/Ninjacrab.PersistentWindows.Solution/SystrayShell/Program.cs @@ -260,8 +260,8 @@ if not errorlevel 1 goto wait_to_finish"; case "-redraw_desktop": redraw_desktop = true; break; - case "-auto_restore_existing_window_to_last_capture=0": - auto_restore_last_capture_at_startup = false; + case "-auto_restore_existing_window_to_last_capture=1": + auto_restore_last_capture_at_startup = true; break; case "-auto_restore_new_window_to_last_capture=1": pwp.autoRestoreNewWindowToLastCapture = true;