268ae0028c
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/firefox#c8daf71be4963daab37d810024e0a6e7f04cf2dd
19 lines
667 B
Diff
19 lines
667 B
Diff
diff --git a/layout/xul/nsMenuPopupFrame.cpp b/layout/xul/nsMenuPopupFrame.cpp
|
|
--- a/layout/xul/nsMenuPopupFrame.cpp
|
|
+++ b/layout/xul/nsMenuPopupFrame.cpp
|
|
@@ -1422,11 +1422,9 @@
|
|
!GDK_IS_X11_DISPLAY(gdk_display_get_default())) {
|
|
screenPoint = nsPoint(anchorRect.x, anchorRect.y);
|
|
mAnchorRect = anchorRect;
|
|
- } else
|
|
+ }
|
|
#endif
|
|
- {
|
|
- screenPoint = AdjustPositionForAnchorAlign(anchorRect, hFlip, vFlip);
|
|
- }
|
|
+ screenPoint = AdjustPositionForAnchorAlign(anchorRect, hFlip, vFlip);
|
|
} else {
|
|
// with no anchor, the popup is positioned relative to the root frame
|
|
anchorRect = rootScreenRect;
|
|
|