diff --git a/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs b/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs index 6e5e96f..e1bce73 100644 --- a/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs +++ b/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs @@ -1944,6 +1944,9 @@ namespace PersistentWindows.Common return; } + if (!CaptureProcessName(hwnd)) + return; + if (ignoreProcess.Count > 0) { string processName = windowProcessName[hwnd]; @@ -1951,9 +1954,6 @@ namespace PersistentWindows.Common return; } - if (!CaptureProcessName(hwnd)) - return; - #if DEBUG if (title.Contains("Microsoft Visual Studio") && (eventType == User32Events.EVENT_OBJECT_LOCATIONCHANGE