mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-04-16 13:57:55 +02:00
Enable Wayland support
This commit is contained in:
parent
48d4caf4f0
commit
9622dd89aa
@ -1,9 +1,7 @@
|
||||
#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");
|
||||
// Allow all GDK backends (including Wayland).
|
||||
|
||||
g_autoptr(MyApplication) app = my_application_new();
|
||||
return g_application_run(G_APPLICATION(app), argc, argv);
|
||||
|
Loading…
x
Reference in New Issue
Block a user