From b200baebd7680f5361d199ae0b406781014a918b Mon Sep 17 00:00:00 2001 From: Robert Ancell Date: Thu, 22 Oct 2020 09:38:11 +1300 Subject: [PATCH] Try the Wayland GDK backend, the engine now supports it (#66519) * Try the Wayland GDK backend, the engine now supports it * Update comment from review * Just do default GTK behaviour --- packages/flutter_tools/templates/app/linux.tmpl/main.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/flutter_tools/templates/app/linux.tmpl/main.cc b/packages/flutter_tools/templates/app/linux.tmpl/main.cc index 058e6178fe..e7c5c54370 100644 --- a/packages/flutter_tools/templates/app/linux.tmpl/main.cc +++ b/packages/flutter_tools/templates/app/linux.tmpl/main.cc @@ -1,10 +1,6 @@ #include "my_application.h" int main(int argc, char** argv) { - // Only X11 is currently supported. - // Wayland support is being developed: https://github.com/flutter/flutter/issues/57932. - gdk_set_allowed_backends("x11"); - g_autoptr(MyApplication) app = my_application_new(); return g_application_run(G_APPLICATION(app), argc, argv); }