From e84a293642a1ebc1efcde906013bfbb309d828c9 Mon Sep 17 00:00:00 2001 From: stefansjfw <57057282+stefansjfw@users.noreply.github.com> Date: Fri, 4 Sep 2020 10:11:05 +0200 Subject: [PATCH] Fix span accross monitors feature (#6335) --- .../ViewModels/FancyZonesViewModel.cs | 1 + src/modules/fancyzones/lib/Settings.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/Microsoft.PowerToys.Settings.UI.Lib/ViewModels/FancyZonesViewModel.cs b/src/core/Microsoft.PowerToys.Settings.UI.Lib/ViewModels/FancyZonesViewModel.cs index e61ca546be..3b538c2c66 100644 --- a/src/core/Microsoft.PowerToys.Settings.UI.Lib/ViewModels/FancyZonesViewModel.cs +++ b/src/core/Microsoft.PowerToys.Settings.UI.Lib/ViewModels/FancyZonesViewModel.cs @@ -50,6 +50,7 @@ namespace Microsoft.PowerToys.Settings.UI.Lib.ViewModels _restoreSize = Settings.Properties.FancyzonesRestoreSize.Value; _useCursorPosEditorStartupScreen = Settings.Properties.UseCursorposEditorStartupscreen.Value; _showOnAllMonitors = Settings.Properties.FancyzonesShowOnAllMonitors.Value; + _spanZonesAcrossMonitors = Settings.Properties.FancyzonesSpanZonesAcrossMonitors.Value; _makeDraggedWindowTransparent = Settings.Properties.FancyzonesMakeDraggedWindowTransparent.Value; _highlightOpacity = Settings.Properties.FancyzonesHighlightOpacity.Value; _excludedApps = Settings.Properties.FancyzonesExcludedApps.Value; diff --git a/src/modules/fancyzones/lib/Settings.h b/src/modules/fancyzones/lib/Settings.h index fd55eee78e..fa0632bba5 100644 --- a/src/modules/fancyzones/lib/Settings.h +++ b/src/modules/fancyzones/lib/Settings.h @@ -9,7 +9,7 @@ namespace ZonedWindowProperties const wchar_t PropertyRestoreSizeID[] = L"FancyZones_RestoreSize"; const wchar_t PropertyRestoreOriginID[] = L"FancyZones_RestoreOrigin"; - const wchar_t MultiMonitorDeviceID[] = L"FancyZones_MultiMonitorDevice"; + const wchar_t MultiMonitorDeviceID[] = L"FancyZones#MultiMonitorDevice"; } struct Settings