mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 13:05:38 +02:00
#388, fix mismatch killed window for jEdit
This commit is contained in:
parent
9e85ee5810
commit
2c06fe1684
1 changed files with 3 additions and 2 deletions
|
@ -1571,10 +1571,11 @@ namespace PersistentWindows.Common
|
||||||
{
|
{
|
||||||
foreach (var dm in monitorApplications[curDisplayKey][h])
|
foreach (var dm in monitorApplications[curDisplayKey][h])
|
||||||
{
|
{
|
||||||
if (style != dm.Style && dm.Style != 0)
|
if (IsMinimized(hwnd) != dm.IsMinimized)
|
||||||
continue;
|
continue;
|
||||||
if (ext_style != dm.ExtStyle && dm.ExtStyle != 0)
|
if (User32.IsWindowVisible(hwnd) == dm.IsInvisible)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (dm.ProcessName == procName)
|
if (dm.ProcessName == procName)
|
||||||
{
|
{
|
||||||
proc_name_match_cnt++;
|
proc_name_match_cnt++;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue