summaryrefslogtreecommitdiff
path: root/mozilla-884831.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@anakreon.cz>2015-07-06 14:48:41 +0200
committerMartin Stransky <stransky@anakreon.cz>2015-07-06 14:48:41 +0200
commitcf16dc51529d2bfd7b3eea290455e1117f5c0d59 (patch)
tree4a4575fcb0d3adf6d9767230a16ec07f5fb464e5 /mozilla-884831.patch
parentworkaround OOM when building on s390 (diff)
downloadlibrewolf-fedora-ff-cf16dc51529d2bfd7b3eea290455e1117f5c0d59.tar.gz
librewolf-fedora-ff-cf16dc51529d2bfd7b3eea290455e1117f5c0d59.tar.bz2
librewolf-fedora-ff-cf16dc51529d2bfd7b3eea290455e1117f5c0d59.zip
Added a fix for rhbz#1240259 - Firefox 39 does not open home page but restore session
Diffstat (limited to 'mozilla-884831.patch')
-rw-r--r--mozilla-884831.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/mozilla-884831.patch b/mozilla-884831.patch
new file mode 100644
index 0000000..7cd5819
--- /dev/null
+++ b/mozilla-884831.patch
@@ -0,0 +1,21 @@
+diff -up mozilla-release/toolkit/xre/nsAppRunner.cpp.884831 mozilla-release/toolkit/xre/nsAppRunner.cpp
+--- mozilla-release/toolkit/xre/nsAppRunner.cpp.884831 2015-07-06 14:36:32.583521873 +0200
++++ mozilla-release/toolkit/xre/nsAppRunner.cpp 2015-07-06 14:45:19.494258581 +0200
+@@ -2770,7 +2770,7 @@ static void MOZ_gdk_display_close(GdkDis
+ // shut down cairo first otherwise it may crash because of dangling
+ // references to Display objects (see bug 469831).
+ if (!theme_is_qt)
+- gdk_display_close(display);
++ //gdk_display_close(display);
+ }
+
+ // Clean up PangoCairo's default fontmap.
+@@ -2807,7 +2807,7 @@ static void MOZ_gdk_display_close(GdkDis
+
+ if (buggyCairoShutdown) {
+ if (!theme_is_qt)
+- gdk_display_close(display);
++ //gdk_display_close(display);
+ }
+ #else // not CLEANUP_MEMORY
+ // Don't do anything to avoid running into driver bugs under XCloseDisplay().
bgstack15