mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-11-09 01:07:27 +01:00
Enable Wayland support
This commit is contained in:
parent
48d4caf4f0
commit
9622dd89aa
@ -1,9 +1,7 @@
|
|||||||
#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.
|
// Allow all GDK backends (including Wayland).
|
||||||
// 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…
x
Reference in New Issue
Block a user