From 0adf762fa08135ab14b78ac5a77507caf91c7137 Mon Sep 17 00:00:00 2001 From: Kang Yu Date: Mon, 24 Mar 2025 10:35:28 -0700 Subject: [PATCH] fix wrong capture due to improper unfreeze --- .../Common/PersistentWindowProcessor.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs b/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs index 46a978a..8653bf4 100644 --- a/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs +++ b/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs @@ -2173,11 +2173,13 @@ namespace PersistentWindows.Common if (enableMinimizeToTray) MinimizeToTray.Create(hwnd); + /* if (freezeCapture) { Log.Event($"recognize {curDisplayKey} as user session"); freezeCapture = false; //unlock unknown display session as normal } + */ goto case User32Events.EVENT_SYSTEM_MOVESIZEEND; case User32Events.EVENT_SYSTEM_MOVESIZEEND: