diff --git a/fix-wayland-compositor.patch b/fix-wayland-compositor.patch deleted file mode 100644 index 4832eea..0000000 --- a/fix-wayland-compositor.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- a/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp -+++ b/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp -@@ -30,6 +30,10 @@ - #include - #include - -+#if PLATFORM(GTK) -+#include "WaylandCompositor.h" -+#endif -+ - #if PLATFORM(GTK) - #define BASE_DIRECTORY "webkitgtk" - #elif PLATFORM(WPE) -@@ -330,6 +334,12 @@ static void bindWayland(Vector& args) - const char* runtimeDir = g_get_user_runtime_dir(); - GUniquePtr waylandRuntimeFile(g_build_filename(runtimeDir, display, nullptr)); - bindIfExists(args, waylandRuntimeFile.get(), BindFlags::ReadWrite); -+ -+#if PLATFORM(GTK) && !USE(WPE_RENDERER) -+ String displayName = WaylandCompositor::singleton().displayName(); -+ waylandRuntimeFile.reset(g_build_filename(runtimeDir, displayName.utf8().data(), nullptr)); -+ bindIfExists(args, waylandRuntimeFile.get(), BindFlags::ReadWrite); -+#endif - } - #endif -