FZ: disable filewatcher cb

This commit is contained in:
yuyoyuppe 2020-12-28 19:54:43 +03:00 committed by Andrey Nekrasov
parent 3eff741da8
commit e69fbfd16f

View File

@ -53,7 +53,9 @@ public:
PostMessageW(m_window, WM_PRIV_LOCATIONCHANGE, NULL, NULL);
}),
m_fileWatcher(FancyZonesDataInstance().GetZonesSettingsFileName(), [this]() {
PostMessageW(m_window, WM_PRIV_FILE_UPDATE, NULL, NULL);
// This is commented out until we figure out why calling UpdateZoneSets() in response to this message
// causes Win+Arrow to break.
//PostMessageW(m_window, WM_PRIV_FILE_UPDATE, NULL, NULL);
})
{
m_settings->SetCallback(this);