mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-23 20:49:26 +01:00
feat(linux): wayland support
like https://github.com/flutter/flutter/pull/66519/files
This commit is contained in:
parent
6569c16060
commit
c3a9897920
@ -1,10 +1,6 @@
|
|||||||
#include "my_application.h"
|
#include "my_application.h"
|
||||||
|
|
||||||
int main(int argc, char** argv) {
|
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();
|
g_autoptr(MyApplication) app = my_application_new();
|
||||||
return g_application_run(G_APPLICATION(app), argc, argv);
|
return g_application_run(G_APPLICATION(app), argc, argv);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user