diff options
author | Martin Stransky <stransky@redhat.com> | 2018-01-30 14:11:53 +0100 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2018-01-30 14:11:53 +0100 |
commit | a16c5a063b1e480656c635788664e6995e9c5c1a (patch) | |
tree | 6c18ece7eec49530b7fa7c1de4b91430bde325bf /mozilla-1431052.patch | |
parent | Fixed typo at startup script, removed unused patches (diff) | |
download | librewolf-fedora-ff-a16c5a063b1e480656c635788664e6995e9c5c1a.tar.gz librewolf-fedora-ff-a16c5a063b1e480656c635788664e6995e9c5c1a.tar.bz2 librewolf-fedora-ff-a16c5a063b1e480656c635788664e6995e9c5c1a.zip |
Added Wayland specific patches mozbz#1431052 mozbz#1432414 mozbz#1434202
Diffstat (limited to 'mozilla-1431052.patch')
-rw-r--r-- | mozilla-1431052.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/mozilla-1431052.patch b/mozilla-1431052.patch new file mode 100644 index 0000000..59376bd --- /dev/null +++ b/mozilla-1431052.patch @@ -0,0 +1,21 @@ +diff --git a/widget/gtk/nsWindow.cpp b/widget/gtk/nsWindow.cpp +--- a/widget/gtk/nsWindow.cpp ++++ b/widget/gtk/nsWindow.cpp +@@ -6948,11 +6948,15 @@ nsWindow::GetWaylandDisplay() + GdkDisplay* gdkDisplay = gdk_display_get_default(); + return mIsX11Display ? nullptr : + sGdkWaylandDisplayGetWlDisplay(gdkDisplay); + } + + wl_surface* + nsWindow::GetWaylandSurface() + { +- return moz_container_get_wl_surface(MOZ_CONTAINER(mContainer)); ++ if (mContainer) ++ return moz_container_get_wl_surface(MOZ_CONTAINER(mContainer)); ++ ++ NS_WARNING("nsWindow::GetWaylandSurfaces(): We don't have any mContainer for drawing!"); ++ return nullptr; + } + #endif + |