mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-10 20:45:38 +02:00
#356, record change of window title
This commit is contained in:
parent
2fd2ff129b
commit
6b2bbba706
1 changed files with 4 additions and 0 deletions
|
@ -3023,7 +3023,11 @@ namespace PersistentWindows.Common
|
|||
return !restoringFromMem;
|
||||
}
|
||||
|
||||
//update title even if window is not moved
|
||||
prevDisplayMetrics = monitorApplications[displayKey][hwnd][prevIndex];
|
||||
if (prevDisplayMetrics.Title != curDisplayMetrics.Title)
|
||||
prevDisplayMetrics.Title = curDisplayMetrics.Title;
|
||||
|
||||
curDisplayMetrics.Id = prevDisplayMetrics.Id;
|
||||
//curDisplayMetrics.ProcessName = prevDisplayMetrics.ProcessName;
|
||||
curDisplayMetrics.WindowId = prevDisplayMetrics.WindowId;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue