feat(linux): wayland support

like https://github.com/flutter/flutter/pull/66519/files
This commit is contained in:
Lukas Lihotzki 2020-10-24 00:33:36 +02:00
parent 6569c16060
commit c3a9897920
1 changed files with 0 additions and 4 deletions

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