diff options
author | Martin Stransky <stransky@redhat.com> | 2020-10-29 13:21:33 +0100 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2020-10-29 13:21:33 +0100 |
commit | 496994f3a213d4cb2948a9a3527d2f42c86e6e21 (patch) | |
tree | 8c5275de194c251ab6533062fd8f581347a4c0b1 /mozilla-1668771.patch | |
parent | Update to 82.0.1 (diff) | |
download | librewolf-fedora-ff-496994f3a213d4cb2948a9a3527d2f42c86e6e21.tar.gz librewolf-fedora-ff-496994f3a213d4cb2948a9a3527d2f42c86e6e21.tar.bz2 librewolf-fedora-ff-496994f3a213d4cb2948a9a3527d2f42c86e6e21.zip |
Updated to 82.0.2
, Removed mzbz#1668771 due to rhbz#1888920
Diffstat (limited to 'mozilla-1668771.patch')
-rw-r--r-- | mozilla-1668771.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/mozilla-1668771.patch b/mozilla-1668771.patch deleted file mode 100644 index 4b3cb3e..0000000 --- a/mozilla-1668771.patch +++ /dev/null @@ -1,41 +0,0 @@ -changeset: 552978:b50cb0696eef -tag: tip -parent: 552976:2ce12e3e063c -user: stransky <stransky@redhat.com> -date: Fri Oct 02 12:19:53 2020 +0200 -files: widget/gtk/WindowSurfaceWayland.cpp -description: -Bug 1668771 [Wayland] Use timeout for frame callbacks for basic compositor, r?jhorak - -Differential Revision: https://phabricator.services.mozilla.com/D92200 - - -diff --git a/widget/gtk/WindowSurfaceWayland.cpp b/widget/gtk/WindowSurfaceWayland.cpp ---- a/widget/gtk/WindowSurfaceWayland.cpp -+++ b/widget/gtk/WindowSurfaceWayland.cpp -@@ -37,6 +37,9 @@ extern mozilla::LazyLogModule gWidgetWay - // Maximal compositing timeout it miliseconds - #define COMPOSITING_TIMEOUT 200 - -+// Maximal timeout between frame callbacks -+#define FRAME_CALLBACK_TIMEOUT 20 -+ - namespace mozilla { - namespace widget { - -@@ -941,8 +944,12 @@ void WindowSurfaceWayland::CommitWayland - if (waylandSurface == mLastCommittedSurface) { - LOGWAYLAND((" [%p] wait for frame callback.\n", (void*)this)); - // We have an active frame callback pending from our recent surface. -- // It means we should defer the commit to FrameCallbackHandler(). -- return; -+ // It means we should defer the commit to FrameCallbackHandler(), -+ // but only if we're under frame callback timeout range. -+ if (mLastCommitTime && (g_get_monotonic_time() / 1000) - mLastCommitTime < -+ FRAME_CALLBACK_TIMEOUT) { -+ return; -+ } - } - // If our stored wl_surface does not match the actual one it means the frame - // callback is no longer active and we should release it. - |