Browse Source

Merge branch 'll/wayland' into 'main'

feat(linux): wayland support

See merge request ChristianPauly/fluffychat-flutter!239
yiffed
Christian Pauly 8 months ago
parent
commit
7d3c4a1dd6
  1. 4
      linux/main.cc

4
linux/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);
}
Loading…
Cancel
Save