mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-10 20:45:38 +02:00
auto dump xml when changing from normal display session
This commit is contained in:
parent
748d86ddc8
commit
580a0864e2
1 changed files with 5 additions and 2 deletions
|
@ -799,8 +799,11 @@ namespace PersistentWindows.Common
|
|||
EndDisplaySession();
|
||||
freezeCapture = true;
|
||||
|
||||
WriteDataDump();
|
||||
Log.Event("Session changing");
|
||||
if (normalSessions.Contains(curDisplayKey))
|
||||
{
|
||||
WriteDataDump();
|
||||
Log.Event("Display session changed, dump history in xml");
|
||||
}
|
||||
}
|
||||
};
|
||||
SystemEvents.DisplaySettingsChanging += this.displaySettingsChangingHandler;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue