FZ: do not activate zones window when it's shown (#8795)

This commit is contained in:
Andrey Nekrasov
2020-12-29 16:38:19 +03:00
committed by GitHub
parent 9b2f1a826d
commit 4f594c92e8
3 changed files with 7 additions and 37 deletions

View File

@@ -702,9 +702,7 @@ void FancyZones::ToggleEditor() noexcept
if (showDpiWarning)
{
// We must show the message box in a separate thread, since this code is called from a low-level
// keyboard hook callback, and launching messageboxes from it has unexpected side effects,
// like triggering EVENT_SYSTEM_MOVESIZEEND prematurely.
// TODO: understand the root cause of this, until then it's commented out.
// keyboard hook callback, and launching messageboxes from it has unexpected side effects
//std::thread{ [] {
// MessageBoxW(nullptr,
// GET_RESOURCE_STRING(IDS_SPAN_ACROSS_ZONES_WARNING).c_str(),