mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-10 20:45:38 +02:00
inherit window in stack order (last kill, first inherit)
This commit is contained in:
parent
9661f8bd79
commit
304c654e80
1 changed files with 3 additions and 1 deletions
|
@ -1984,7 +1984,9 @@ namespace PersistentWindows.Common
|
|||
}
|
||||
|
||||
// for matching new window with killed one
|
||||
monitorApplications[display_config][hwnd].Last().ProcessName = windowProcessName[hwnd];
|
||||
var dm = monitorApplications[display_config][hwnd].Last();
|
||||
if (dm.SnapShotFlags == 0)
|
||||
dm.CaptureTime = DateTime.Now; //for inheritence in LIFO stile
|
||||
|
||||
deadApps[display_config][hwnd] = monitorApplications[display_config][hwnd];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue