mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-10 20:45:38 +02:00
relax title match when inherit killed window
This commit is contained in:
parent
1a5d9442d2
commit
7dc0cbee82
1 changed files with 3 additions and 3 deletions
|
@ -1540,9 +1540,6 @@ namespace PersistentWindows.Common
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (title_match_cnt == 1)
|
|
||||||
return title_match_hid;
|
|
||||||
|
|
||||||
if (pos_match_cnt == 1)
|
if (pos_match_cnt == 1)
|
||||||
return pos_match_hid;
|
return pos_match_hid;
|
||||||
|
|
||||||
|
@ -1551,6 +1548,9 @@ namespace PersistentWindows.Common
|
||||||
Log.Event($"found similar match with pos diff of {diff_size}");
|
Log.Event($"found similar match with pos diff of {diff_size}");
|
||||||
return similar_pos_hid;
|
return similar_pos_hid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (title_match_cnt == 1)
|
||||||
|
return title_match_hid;
|
||||||
}
|
}
|
||||||
|
|
||||||
return IntPtr.Zero;
|
return IntPtr.Zero;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue