Make detection of windows creation more robust

This commit is contained in:
Bartosz Sosnowski 2019-09-25 14:40:34 +02:00 committed by Bartosz Sosnowski
parent 0b86941a3b
commit 50dae8a37b

View File

@ -266,6 +266,8 @@ void FancyZonesModule::HandleWinHookEvent(WinHookEvent* data) noexcept
}
break;
case EVENT_OBJECT_UNCLOAKED:
case EVENT_OBJECT_SHOW:
case EVENT_OBJECT_CREATE:
{
if (data->idObject == OBJID_WINDOW)