diff options
author | Martin Stransky <stransky@redhat.com> | 2021-01-21 13:56:18 +0100 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2021-01-21 13:56:18 +0100 |
commit | a11efdd5035f1377a39530564fe9373d4fa2ecd5 (patch) | |
tree | 04882417360309107073153a0f7cef92f543187f /mozilla-1687931.patch | |
parent | Merge branch 'master' into f33 (diff) | |
parent | Update to 85.0 (diff) | |
download | librewolf-fedora-ff-a11efdd5035f1377a39530564fe9373d4fa2ecd5.tar.gz librewolf-fedora-ff-a11efdd5035f1377a39530564fe9373d4fa2ecd5.tar.bz2 librewolf-fedora-ff-a11efdd5035f1377a39530564fe9373d4fa2ecd5.zip |
Merge branch 'master' into f33
Diffstat (limited to 'mozilla-1687931.patch')
-rw-r--r-- | mozilla-1687931.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/mozilla-1687931.patch b/mozilla-1687931.patch new file mode 100644 index 0000000..91f7e9c --- /dev/null +++ b/mozilla-1687931.patch @@ -0,0 +1,28 @@ +changeset: 565888:91903b2fd4ab +tag: tip +parent: 565886:1a895ef04f9f +user: stransky <stransky@redhat.com> +date: Thu Jan 21 12:27:43 2021 +0100 +files: widget/gtk/nsWindow.cpp +description: +Bug 1687931 [Wayland] Don't cache monitor scale factor, r?jhorak + +Differential Revision: https://phabricator.services.mozilla.com/D102590 + + +diff --git a/widget/gtk/nsWindow.cpp b/widget/gtk/nsWindow.cpp +--- a/widget/gtk/nsWindow.cpp ++++ b/widget/gtk/nsWindow.cpp +@@ -7714,10 +7714,10 @@ gint nsWindow::GdkScaleFactor() { + (gint(*)(GdkWindow*))dlsym(RTLD_DEFAULT, "gdk_window_get_scale_factor"); + if (sGdkWindowGetScaleFactorPtr && scaledGdkWindow) { + mWindowScaleFactor = (*sGdkWindowGetScaleFactorPtr)(scaledGdkWindow); ++ mWindowScaleFactorChanged = false; + } else { + mWindowScaleFactor = ScreenHelperGTK::GetGTKMonitorScaleFactor(); + } +- mWindowScaleFactorChanged = false; + + return mWindowScaleFactor; + } + |