summaryrefslogtreecommitdiff
path: root/mozilla-1568569.patch
diff options
context:
space:
mode:
authorJan Horak <jhorak@redhat.com>2020-02-11 09:36:30 +0100
committerJan Horak <jhorak@redhat.com>2020-02-11 09:36:30 +0100
commit158b963518314c9c1bffdb3680e63e17c8c7c968 (patch)
tree62afda30e88a9d7760b807593f6fca26de139dbe /mozilla-1568569.patch
parentMake sure the release tag in appdata is in sync with the package version (diff)
downloadlibrewolf-fedora-ff-158b963518314c9c1bffdb3680e63e17c8c7c968.tar.gz
librewolf-fedora-ff-158b963518314c9c1bffdb3680e63e17c8c7c968.tar.bz2
librewolf-fedora-ff-158b963518314c9c1bffdb3680e63e17c8c7c968.zip
Update to 73.0 build3
Diffstat (limited to 'mozilla-1568569.patch')
-rw-r--r--mozilla-1568569.patch43
1 files changed, 0 insertions, 43 deletions
diff --git a/mozilla-1568569.patch b/mozilla-1568569.patch
deleted file mode 100644
index c61f845..0000000
--- a/mozilla-1568569.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-diff -up firefox-71.0/widget/gtk/nsWindow.cpp.1568569 firefox-71.0/widget/gtk/nsWindow.cpp
---- firefox-71.0/widget/gtk/nsWindow.cpp.1568569 2019-11-26 10:51:08.303063138 +0100
-+++ firefox-71.0/widget/gtk/nsWindow.cpp 2019-11-26 10:54:28.428994823 +0100
-@@ -3348,6 +3348,8 @@ void nsWindow::OnWindowStateEvent(GtkWid
- return;
- }
-
-+ nsSizeMode lastSizeState = mSizeState;
-+
- if (aEvent->new_window_state & GDK_WINDOW_STATE_ICONIFIED) {
- LOG(("\tIconified\n"));
- mSizeState = nsSizeMode_Minimized;
-@@ -3379,6 +3381,18 @@ void nsWindow::OnWindowStateEvent(GtkWid
- mIsTiled = false;
- }
-
-+ // Fullscreen video playback may generate bogus alpha values which blends
-+ // with desktop background in fullscreen video playback (Bug 1568569).
-+ // As a workaround enable to draw mShell background in fullscreen mode
-+ // if we draw to mContainer.
-+ if (gtk_widget_get_has_window(GTK_WIDGET(mContainer))) {
-+ if (mSizeState == nsSizeMode_Fullscreen) {
-+ gtk_widget_set_app_paintable(mShell, FALSE);
-+ } else if (lastSizeState == nsSizeMode_Fullscreen) {
-+ gtk_widget_set_app_paintable(mShell, TRUE);
-+ }
-+ }
-+
- if (mWidgetListener) {
- mWidgetListener->SizeModeChanged(mSizeState);
- if (aEvent->changed_mask & GDK_WINDOW_STATE_FULLSCREEN) {
-@@ -3930,6 +3944,11 @@ nsresult nsWindow::Create(nsIWidget* aPa
- gtk_widget_add_events(eventWidget, kEvents);
- if (drawToContainer) {
- gtk_widget_add_events(mShell, GDK_PROPERTY_CHANGE_MASK);
-+ // Don't paint mShell background when we draw to mContainer.
-+ // Otherwise we see mShell backround to shine through
-+ // mContainer (Bug 1507608).
-+ // But it may also lead to various bugs where mContainer has unintended
-+ // transparent parts which blend with underlying desktop (Bug 1516224).
- gtk_widget_set_app_paintable(mShell, TRUE);
- }
- if (mTransparencyBitmapForTitlebar) {
bgstack15