mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 04:55:39 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!CaptureProcessName(hwnd))
|
||||||
|
return;
|
||||||
|
|
||||||
if (ignoreProcess.Count > 0)
|
if (ignoreProcess.Count > 0)
|
||||||
{
|
{
|
||||||
string processName = windowProcessName[hwnd];
|
string processName = windowProcessName[hwnd];
|
||||||
|
@ -1951,9 +1954,6 @@ namespace PersistentWindows.Common
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!CaptureProcessName(hwnd))
|
|
||||||
return;
|
|
||||||
|
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
if (title.Contains("Microsoft Visual Studio")
|
if (title.Contains("Microsoft Visual Studio")
|
||||||
&& (eventType == User32Events.EVENT_OBJECT_LOCATIONCHANGE
|
&& (eventType == User32Events.EVENT_OBJECT_LOCATIONCHANGE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue