mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 04:55:39 +02:00
no auto inherit when restore from db
This commit is contained in:
parent
52231e20ab
commit
13cd0ab8d5
1 changed files with 3 additions and 1 deletions
|
@ -1999,6 +1999,9 @@ namespace PersistentWindows.Common
|
|||
// ignore non-window object (caret etc)
|
||||
return;
|
||||
|
||||
if (restoringFromDB)
|
||||
return;
|
||||
|
||||
if (freezeCapture || !monitorApplications.ContainsKey(curDisplayKey))
|
||||
return;
|
||||
|
||||
|
@ -2022,7 +2025,6 @@ namespace PersistentWindows.Common
|
|||
|
||||
DateTime now = DateTime.Now;
|
||||
|
||||
//restore windows of the same process name
|
||||
ApplicationDisplayMetrics curDisplayMetrics;
|
||||
ApplicationDisplayMetrics prevDisplayMetrics;
|
||||
//try to inherit from killed window database
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue