fix wrong capture due to improper unfreeze

This commit is contained in:
Kang Yu 2025-03-24 10:35:28 -07:00
parent 05a740a21f
commit 0adf762fa0

View file

@ -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: