summaryrefslogtreecommitdiff
path: root/mozilla-1497534.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2018-11-06 10:07:48 +0100
committerMartin Stransky <stransky@redhat.com>2018-11-06 10:07:48 +0100
commit2356f9cd35167301372ccd4185e912fc34b91286 (patch)
treef9492e362b90c376ebbce14fde662548537674bb /mozilla-1497534.patch
parentAdded fix for mozbz#1497534 - titlebar appearance during D&D, Added fix for m... (diff)
downloadlibrewolf-fedora-ff-2356f9cd35167301372ccd4185e912fc34b91286.tar.gz
librewolf-fedora-ff-2356f9cd35167301372ccd4185e912fc34b91286.tar.bz2
librewolf-fedora-ff-2356f9cd35167301372ccd4185e912fc34b91286.zip
Removed mozilla-1497534.patch as we don't have the original fix backported
Diffstat (limited to 'mozilla-1497534.patch')
-rw-r--r--mozilla-1497534.patch28
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;
-+}
-
bgstack15