mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-10 20:45: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])
|
||||
{
|
||||
if (style != dm.Style && dm.Style != 0)
|
||||
if (IsMinimized(hwnd) != dm.IsMinimized)
|
||||
continue;
|
||||
if (ext_style != dm.ExtStyle && dm.ExtStyle != 0)
|
||||
if (User32.IsWindowVisible(hwnd) == dm.IsInvisible)
|
||||
continue;
|
||||
|
||||
if (dm.ProcessName == procName)
|
||||
{
|
||||
proc_name_match_cnt++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue