mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 13:05:38 +02:00
inherit killed window: update zorder information in deadApps as well
This commit is contained in:
parent
74da136678
commit
a5221064eb
1 changed files with 8 additions and 0 deletions
|
@ -1077,6 +1077,14 @@ namespace PersistentWindows.Common
|
|||
deadApps[display_key].Remove(kid);
|
||||
|
||||
//replace prev zorder reference in deadApps as well
|
||||
foreach (var kd in deadApps[display_key].Keys)
|
||||
{
|
||||
for (int i = 0; i < deadApps[display_key][kd].Count; i++)
|
||||
{
|
||||
if (deadApps[display_key][kd][i].PrevZorderWindow == dead_hwnd)
|
||||
deadApps[display_key][kd][i].PrevZorderWindow = hwnd;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue