summaryrefslogtreecommitdiff
path: root/mozilla-1431052.patch
diff options
context:
space:
mode:
Diffstat (limited to 'mozilla-1431052.patch')
-rw-r--r--mozilla-1431052.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/mozilla-1431052.patch b/mozilla-1431052.patch
deleted file mode 100644
index 59376bd..0000000
--- a/mozilla-1431052.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-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
-
bgstack15