зеркало из https://github.com/mozilla/gecko-dev.git
Backed out 1 changesets (bug 1632357) for build bustages. CLOSED TREE
Backed out changeset 428d3ada2cb2 (bug 1632357)
This commit is contained in:
Родитель
0f970fbb19
Коммит
16f21e6dae
|
@ -571,11 +571,6 @@
|
|||
value: 150
|
||||
mirror: always
|
||||
|
||||
- name: apz.windows.force_disable_direct_manipulation
|
||||
type: RelaxedAtomicBool
|
||||
value: false
|
||||
mirror: always
|
||||
|
||||
- name: apz.x_skate_highmem_adjust
|
||||
type: AtomicFloat
|
||||
value: 0.0f
|
||||
|
|
|
@ -158,14 +158,8 @@ WinCompositorWnds WinCompositorWindowThread::CreateCompositorWindow() {
|
|||
nullptr, WS_POPUP | WS_DISABLED, 0, 0, 1, 1,
|
||||
nullptr, 0, GetModuleHandle(nullptr), 0);
|
||||
|
||||
DWORD extendedStyle = WS_EX_NOPARENTNOTIFY | WS_EX_NOREDIRECTIONBITMAP;
|
||||
|
||||
if (!StaticPrefs::apz_windows_force_disable_direct_manipulation()) {
|
||||
extendedStyle |= WS_EX_LAYERED;
|
||||
}
|
||||
|
||||
compositorWnd = ::CreateWindowEx(
|
||||
extendedStyle,
|
||||
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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче