From 3884c4446fd5d330369262e5fef9347375df3012 Mon Sep 17 00:00:00 2001 From: Kang Yu Date: Sat, 3 May 2025 23:23:51 -0700 Subject: [PATCH] no fast capture if window is marked no restore --- .../Common/PersistentWindowProcessor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs b/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs index 216855a..cfed54d 100644 --- a/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs +++ b/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs @@ -484,7 +484,7 @@ namespace PersistentWindows.Common else if (fullScreenGamingWindow == IntPtr.Zero) { //create window event may be delayed - if (hwnd != IntPtr.Zero) + if (hwnd != IntPtr.Zero && !noRestoreWindows.Contains(hwnd)) CaptureWindow(hwnd, 0, DateTime.Now, curDisplayKey); StartCaptureTimer();