diff options
author | Martin Stransky <stransky@redhat.com> | 2020-11-12 14:33:57 +0100 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2020-11-12 14:33:57 +0100 |
commit | d6756537dd8cf4d9816dc63ada66ea026e0fd128 (patch) | |
tree | 73822a6950c9dc87de309cccda7234e40a4f9fa4 /mozilla-1634404.patch | |
parent | changelog date fix (diff) | |
download | librewolf-fedora-ff-d6756537dd8cf4d9816dc63ada66ea026e0fd128.tar.gz librewolf-fedora-ff-d6756537dd8cf4d9816dc63ada66ea026e0fd128.tar.bz2 librewolf-fedora-ff-d6756537dd8cf4d9816dc63ada66ea026e0fd128.zip |
Updated to 83.0, Updated PipeWire patches from mozbz#1672944
Diffstat (limited to 'mozilla-1634404.patch')
-rw-r--r-- | mozilla-1634404.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/mozilla-1634404.patch b/mozilla-1634404.patch deleted file mode 100644 index 75ea8ce..0000000 --- a/mozilla-1634404.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/widget/gtk/nsWindow.cpp b/widget/gtk/nsWindow.cpp ---- a/widget/gtk/nsWindow.cpp -+++ b/widget/gtk/nsWindow.cpp -@@ -1593,7 +1593,14 @@ - // Get anchor rectangle - LayoutDeviceIntRect anchorRect(0, 0, 0, 0); - nsMenuPopupFrame* popupFrame = GetMenuPopupFrame(GetFrame()); -- int32_t p2a = AppUnitsPerCSSPixel() / gfxPlatformGtk::GetFontScaleFactor(); -+ -+ int32_t p2a; -+ double devPixelsPerCSSPixel = StaticPrefs::layout_css_devPixelsPerPx(); -+ if (devPixelsPerCSSPixel > 0.0) { -+ p2a = AppUnitsPerCSSPixel() / devPixelsPerCSSPixel * GdkScaleFactor(); -+ } else { -+ p2a = AppUnitsPerCSSPixel() / gfxPlatformGtk::GetFontScaleFactor(); -+ } - if (popupFrame) { - #ifdef MOZ_WAYLAND - anchorRect = LayoutDeviceIntRect::FromAppUnitsToOutside( - |