From 3aea3055e85d7f367ec5b1347c5b96898e237fd2 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Tue, 6 Mar 2018 15:06:38 +0100 Subject: Removed unused wayland patches --- queue-crash.patch | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 queue-crash.patch (limited to 'queue-crash.patch') diff --git a/queue-crash.patch b/queue-crash.patch deleted file mode 100644 index 962fce9..0000000 --- a/queue-crash.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/widget/gtk/WindowSurfaceWayland.cpp b/widget/gtk/WindowSurfaceWayland.cpp ---- a/widget/gtk/WindowSurfaceWayland.cpp -+++ b/widget/gtk/WindowSurfaceWayland.cpp -@@ -268,17 +268,21 @@ nsWaylandDisplay::GetShm() - - if (!mShm) { - // wl_shm is not provided by Gtk so we need to query wayland directly - // See weston/simple-shm.c and create_display() for reference. - wl_registry* registry = wl_display_get_registry(mDisplay); - wl_registry_add_listener(registry, ®istry_listener, this); - - wl_proxy_set_queue((struct wl_proxy *)registry, mEventQueue); -- wl_display_roundtrip_queue(mDisplay, mEventQueue); -+ if (mEventQueue) { -+ wl_display_roundtrip_queue(mDisplay, mEventQueue); -+ } else { -+ wl_display_roundtrip(mDisplay); -+ } - - MOZ_RELEASE_ASSERT(mShm, "Wayland registry query failed!"); - } - - return(mShm); - } - - bool -- cgit