forked from mirrors/gecko-dev
Bug 1795822 [Wayland] Use correct popup for move-to-rect check r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D159570
This commit is contained in:
parent
432a8d9d92
commit
f02086d01e
1 changed files with 2 additions and 2 deletions
|
|
@ -1889,8 +1889,8 @@ void nsWindow::UpdateWaylandPopupHierarchy() {
|
|||
return false;
|
||||
}
|
||||
if (!popup->WaylandPopupIsFirst() &&
|
||||
!mWaylandPopupPrev->WaylandPopupIsFirst() &&
|
||||
!mWaylandPopupPrev->mPopupUseMoveToRect) {
|
||||
!popup->mWaylandPopupPrev->WaylandPopupIsFirst() &&
|
||||
!popup->mWaylandPopupPrev->mPopupUseMoveToRect) {
|
||||
// We can't use move-to-rect if there are more parents of
|
||||
// wl_subsurface popups types.
|
||||
//
|
||||
|
|
|
|||
Loading…
Reference in a new issue