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; |         return false; | ||||||
|       } |       } | ||||||
|       if (!popup->WaylandPopupIsFirst() && |       if (!popup->WaylandPopupIsFirst() && | ||||||
|           !mWaylandPopupPrev->WaylandPopupIsFirst() && |           !popup->mWaylandPopupPrev->WaylandPopupIsFirst() && | ||||||
|           !mWaylandPopupPrev->mPopupUseMoveToRect) { |           !popup->mWaylandPopupPrev->mPopupUseMoveToRect) { | ||||||
|         // We can't use move-to-rect if there are more parents of
 |         // We can't use move-to-rect if there are more parents of
 | ||||||
|         // wl_subsurface popups types.
 |         // wl_subsurface popups types.
 | ||||||
|         //
 |         //
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 stransky
						stransky