diff options
author | Martin Stransky <stransky@redhat.com> | 2022-01-11 19:49:24 +0100 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2022-01-11 19:49:24 +0100 |
commit | bacd3c42004883a03e03f64416cc07ca18ccc695 (patch) | |
tree | 76c052738e3b21901ffc5d8e66773d102fa203d7 /mozilla-1744896.patch | |
parent | Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34 (diff) | |
parent | Update to Firefox 96 (diff) | |
download | librewolf-fedora-ff-bacd3c42004883a03e03f64416cc07ca18ccc695.tar.gz librewolf-fedora-ff-bacd3c42004883a03e03f64416cc07ca18ccc695.tar.bz2 librewolf-fedora-ff-bacd3c42004883a03e03f64416cc07ca18ccc695.zip |
merge
Diffstat (limited to 'mozilla-1744896.patch')
-rw-r--r-- | mozilla-1744896.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/mozilla-1744896.patch b/mozilla-1744896.patch deleted file mode 100644 index b3f343e..0000000 --- a/mozilla-1744896.patch +++ /dev/null @@ -1,42 +0,0 @@ -diff -up firefox-95.0.2/widget/gtk/nsWindow.cpp.1744896 firefox-95.0.2/widget/gtk/nsWindow.cpp ---- firefox-95.0.2/widget/gtk/nsWindow.cpp.1744896 2021-12-23 11:54:31.522539340 +0100 -+++ firefox-95.0.2/widget/gtk/nsWindow.cpp 2021-12-23 11:55:56.070270174 +0100 -@@ -5765,6 +5765,17 @@ nsresult nsWindow::Create(nsIWidget* aPa - } - } - #endif -+#ifdef MOZ_WAYLAND -+ // Initialize the window specific VsyncSource early in order to avoid races -+ // with BrowserParent::UpdateVsyncParentVsyncSource(). -+ // Only use for toplevel windows for now, see bug 1619246. -+ if (GdkIsWaylandDisplay() && -+ StaticPrefs::widget_wayland_vsync_enabled_AtStartup() && -+ mWindowType == eWindowType_toplevel) { -+ mWaylandVsyncSource = new WaylandVsyncSource(); -+ MOZ_RELEASE_ASSERT(mWaylandVsyncSource); -+ } -+#endif - - // We create input contexts for all containers, except for - // toplevel popup windows -@@ -6077,19 +6088,12 @@ void nsWindow::ResumeCompositorFromCompo - - void nsWindow::WaylandStartVsync() { - #ifdef MOZ_WAYLAND -- // only use for toplevel windows for now - see bug 1619246 -- if (!GdkIsWaylandDisplay() || -- !StaticPrefs::widget_wayland_vsync_enabled_AtStartup() || -- mWindowType != eWindowType_toplevel) { -+ if (!mWaylandVsyncSource) { - return; - } - - LOG("nsWindow::WaylandStartVsync() [%p]\n", (void*)this); - -- if (!mWaylandVsyncSource) { -- mWaylandVsyncSource = new WaylandVsyncSource(); -- } -- - WaylandVsyncSource::WaylandDisplay& display = - static_cast<WaylandVsyncSource::WaylandDisplay&>( - mWaylandVsyncSource->GetGlobalDisplay()); |