Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (5910661c93e9d6cf267f8ec828f25ed116bd9d0a)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (5910661c93e9d6cf267f8ec828f25ed116bd9d0a)
  • Date: Mon, 17 Apr 2023 00:32:03 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

http/firefox/HISTORY | 3
http/firefox/patches/0033-bmo-1827429-wayland-window-is-visible.patch | 42
++++++++++
2 files changed, 45 insertions(+)

New commits:
commit 5910661c93e9d6cf267f8ec828f25ed116bd9d0a
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

http/firefox: updated the patches for 112.0

diff --git a/http/firefox/HISTORY b/http/firefox/HISTORY
index b3acf53..b1f7eee 100644
--- a/http/firefox/HISTORY
+++ b/http/firefox/HISTORY
@@ -1,3 +1,6 @@
+2023-04-16 Pavel Vinogradov <public AT sourcemage.org>
+ * patches/*: updated
+
2023-04-11 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 112.0, SECURITY_PATCH++
* DEPENDS: nss >= 3.89
diff --git
a/http/firefox/patches/0033-bmo-1827429-wayland-window-is-visible.patch
b/http/firefox/patches/0033-bmo-1827429-wayland-window-is-visible.patch
new file mode 100644
index 0000000..0524355
--- /dev/null
+++ b/http/firefox/patches/0033-bmo-1827429-wayland-window-is-visible.patch
@@ -0,0 +1,42 @@
+
+# HG changeset patch
+# User stransky <stransky AT redhat.com>
+# Date 1681291030 0
+# Node ID a559fcdcfccf1089673f431a9e8133e888365a7b
+# Parent d553eb2d6e15839e4cafa9fcf537d9f3d0bc1c82
+Bug 1827429 [Wayland] Call NotifyOcclusionState(OcclusionState::VISIBLE)
from nsWindow::OnExposeEvent() as we know the window is visible r=emilio
a=pascalc
+
+Differential Revision: https://phabricator.services.mozilla.com/D175138
+
+diff --git a/widget/gtk/nsWindow.cpp b/widget/gtk/nsWindow.cpp
+--- a/widget/gtk/nsWindow.cpp
++++ b/widget/gtk/nsWindow.cpp
+@@ -3724,20 +3724,25 @@ void nsWindow::CreateCompositorVsyncDisp
+ LOG_VSYNC(" create CompositorVsyncDispatcher()");
+ mCompositorVsyncDispatcher =
+ new CompositorVsyncDispatcher(mWaylandVsyncDispatcher);
+ }
+ }
+ #endif
+
+ gboolean nsWindow::OnExposeEvent(cairo_t* cr) {
++ // This might destroy us.
++ NotifyOcclusionState(OcclusionState::VISIBLE);
++ if (mIsDestroyed) {
++ return FALSE;
++ }
++
+ // Send any pending resize events so that layout can update.
+- // May run event loop.
++ // May run event loop and destroy us.
+ MaybeDispatchResized();
+-
+ if (mIsDestroyed) {
+ return FALSE;
+ }
+
+ // Windows that are not visible will be painted after they become visible.
+ if (!mGdkWindow || !mHasMappedToplevel) {
+ return FALSE;
+ }
+



  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (5910661c93e9d6cf267f8ec828f25ed116bd9d0a), Pavel Vinogradov, 04/16/2023

Archive powered by MHonArc 2.6.24.

Top of Page