mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1128527 - Only create an APZCTreeManager for widgets for toplevel and child windows. r=kats,Bas
This commit is contained in:
parent
4d59a9ab0f
commit
aced586846
@ -1027,7 +1027,8 @@ void nsBaseWidget::CreateCompositor(int aWidth, int aHeight)
|
||||
mCompositorChild = new CompositorChild(lm);
|
||||
mCompositorChild->Open(parentChannel, childMessageLoop, ipc::ChildSide);
|
||||
|
||||
if (gfxPrefs::AsyncPanZoomEnabled()) {
|
||||
if (gfxPrefs::AsyncPanZoomEnabled() &&
|
||||
(WindowType() == eWindowType_toplevel || WindowType() == eWindowType_child)) {
|
||||
ConfigureAPZCTreeManager();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user