diff --git a/modules/libpref/init/StaticPrefList.yaml b/modules/libpref/init/StaticPrefList.yaml index d35bd87d447c..711e865013dd 100644 --- a/modules/libpref/init/StaticPrefList.yaml +++ b/modules/libpref/init/StaticPrefList.yaml @@ -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 diff --git a/widget/windows/WinCompositorWindowThread.cpp b/widget/windows/WinCompositorWindowThread.cpp index dd48993892e3..0443e9c6189a 100644 --- a/widget/windows/WinCompositorWindowThread.cpp +++ b/widget/windows/WinCompositorWindowThread.cpp @@ -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);