diff --git a/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs b/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs index 3554f29..2f18cfc 100644 --- a/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs +++ b/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs @@ -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;