From 2356f9cd35167301372ccd4185e912fc34b91286 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Tue, 6 Nov 2018 10:07:48 +0100 Subject: Removed mozilla-1497534.patch as we don't have the original fix backported --- firefox.spec | 3 --- mozilla-1497534.patch | 28 ---------------------------- 2 files changed, 31 deletions(-) delete mode 100644 mozilla-1497534.patch diff --git a/firefox.spec b/firefox.spec index 3718ac5..6fde84d 100644 --- a/firefox.spec +++ b/firefox.spec @@ -154,7 +154,6 @@ Patch573: mozilla-1415078.patch Patch574: firefox-pipewire.patch Patch581: mozilla-1493081.patch Patch582: mozilla-1504689.patch -Patch583: mozilla-1497534.patch # Debian patches Patch500: mozilla-440908.patch @@ -367,7 +366,6 @@ This package contains results of tests executed during build. %endif %patch581 -p1 -b .mozilla-1493081 %patch582 -p1 -b .mozilla-1504689 -%patch583 -p1 -b .mozilla-1497534 %{__rm} -f .mozconfig %{__cp} %{SOURCE10} .mozconfig @@ -915,7 +913,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog * Tue Nov 6 2018 Martin Stransky - 63.0.1-5 -- Added fix for mozbz#1497534 - titlebar appearance during D&D - Added fix for mozbz#1502457- disable Contextual Feature Recommender/shield studies by default. diff --git a/mozilla-1497534.patch b/mozilla-1497534.patch deleted file mode 100644 index 066c919..0000000 --- a/mozilla-1497534.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff --git a/widget/gtk/nsWindow.h b/widget/gtk/nsWindow.h ---- a/widget/gtk/nsWindow.h -+++ b/widget/gtk/nsWindow.h -@@ -287,6 +287,7 @@ - // descendant windows - GtkWidget* GetMozContainerWidget(); - GdkWindow* GetGdkWindow() { return mGdkWindow; } -+ GtkWidget* GetGtkWidget() { return mShell; } - bool IsDestroyed() { return mIsDestroyed; } - - void DispatchDragEvent(mozilla::EventMessage aMsg, -diff --git a/widget/gtk/nsWindow.cpp b/widget/gtk/nsWindow.cpp ---- a/widget/gtk/nsWindow.cpp -+++ b/widget/gtk/nsWindow.cpp -@@ -7480,5 +7480,10 @@ - } - } - -- return (gFocusWindow == window); --} -+ GtkWidget* widget = window->GetGtkWidget(); -+ if (widget) { -+ return !(gtk_widget_get_state_flags(widget) & GTK_STATE_FLAG_BACKDROP); -+ } -+ -+ return false; -+} - -- cgit