Bug 1627505. Use WS_EX_LAYERED on the compositor window to prevent Direct Manipulation from finding it. r=sotaro

Differential Revision: https://phabricator.services.mozilla.com/D69765

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Timothy Nikkel 2020-04-06 18:25:28 +00:00
parent c906934245
commit 144d8ddf92

View File

@ -159,7 +159,7 @@ WinCompositorWnds WinCompositorWindowThread::CreateCompositorWindow() {
nullptr, 0, GetModuleHandle(nullptr), 0);
compositorWnd = ::CreateWindowEx(
WS_EX_NOPARENTNOTIFY | WS_EX_NOREDIRECTIONBITMAP,
WS_EX_LAYERED | WS_EX_NOPARENTNOTIFY | WS_EX_NOREDIRECTIONBITMAP,
kClassNameCompositor, nullptr,
WS_CHILDWINDOW | WS_DISABLED | WS_VISIBLE, 0, 0, 1, 1,
initialParentWnd, 0, GetModuleHandle(nullptr), 0);