diff options
author | Martin Stransky <stransky@redhat.com> | 2018-11-06 10:08:47 +0100 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2018-11-06 10:08:47 +0100 |
commit | 8ec22044d3c3be5eddda2fe55553b7bf65d17bb2 (patch) | |
tree | f9492e362b90c376ebbce14fde662548537674bb /mozilla-1497534.patch | |
parent | Merge branch 'master' into f28 (diff) | |
parent | Removed mozilla-1497534.patch as we don't have the original fix backported (diff) | |
download | librewolf-fedora-ff-8ec22044d3c3be5eddda2fe55553b7bf65d17bb2.tar.gz librewolf-fedora-ff-8ec22044d3c3be5eddda2fe55553b7bf65d17bb2.tar.bz2 librewolf-fedora-ff-8ec22044d3c3be5eddda2fe55553b7bf65d17bb2.zip |
Merge branch 'master' into f28
Diffstat (limited to 'mozilla-1497534.patch')
-rw-r--r-- | mozilla-1497534.patch | 28 |
1 files changed, 0 insertions, 28 deletions
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; -+} - |