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
This commit is contained in:
Robert Ancell
2020-10-22 09:38:11 +13:00
committed by GitHub
parent 85bfbc8060
commit b200baebd7

View File

@@ -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);
}