From 96352c55721a8fd63021212c02511a97e17d0acf Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Mon, 6 Apr 2020 23:07:31 +0200 Subject: Updated to 75.0 --- mozilla-1624745.patch | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 mozilla-1624745.patch (limited to 'mozilla-1624745.patch') diff --git a/mozilla-1624745.patch b/mozilla-1624745.patch deleted file mode 100644 index 2a1dc06..0000000 --- a/mozilla-1624745.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff --git a/widget/gtk/mozcontainer.cpp b/widget/gtk/mozcontainer.cpp ---- a/widget/gtk/mozcontainer.cpp -+++ b/widget/gtk/mozcontainer.cpp -@@ -624,17 +624,25 @@ - GdkDisplay* display = gtk_widget_get_display(GTK_WIDGET(container)); - nsWaylandDisplay* waylandDisplay = WaylandDisplayGet(display); - -+ wl_surface* parent_surface = -+ moz_gtk_widget_get_wl_surface(GTK_WIDGET(container)); -+ if (!parent_surface) { -+ return nullptr; -+ } -+ - // Available as of GTK 3.8+ - struct wl_compositor* compositor = waylandDisplay->GetCompositor(); - container->surface = wl_compositor_create_surface(compositor); -- wl_surface* parent_surface = -- moz_gtk_widget_get_wl_surface(GTK_WIDGET(container)); -- if (!container->surface || !parent_surface) { -+ if (!container->surface) { - return nullptr; - } - - container->subsurface = wl_subcompositor_get_subsurface( - waylandDisplay->GetSubcompositor(), container->surface, parent_surface); -+ if (!container->subsurface) { -+ g_clear_pointer(&container->surface, wl_surface_destroy); -+ return nullptr; -+ } - - GdkWindow* window = gtk_widget_get_window(GTK_WIDGET(container)); - gint x, y; - -- cgit