no fast capture if window is marked no restore

This commit is contained in:
Kang Yu 2025-05-03 23:23:51 -07:00
parent 11d0c30ddb
commit 3884c4446f

View file

@ -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();