mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-10 20:45:38 +02:00
#389, persist exception when running PW with -ignored_process
This commit is contained in:
parent
3c585c1dab
commit
10dd03498a
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue