diff --git a/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs b/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs index dc4acda..6a9abd6 100644 --- a/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs +++ b/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs @@ -471,7 +471,9 @@ namespace PersistentWindows.Common // If the window move is caused by user snapping window to screen edge, // delay capture by a few seconds should be fine. - if (monitorApplications.ContainsKey(curDisplayKey) && monitorApplications[curDisplayKey].ContainsKey(hwnd)) + if (monitorApplications.ContainsKey(curDisplayKey) + && (monitorApplications[curDisplayKey].ContainsKey(hwnd) + || FindMatchingKilledWindow(hwnd) != IntPtr.Zero)) { //capture with slight delay inperceivable by user, required for full screen mode recovery userMove = true;