diff --git a/linux/runner/main.cc b/linux/runner/main.cc index e7c5c5437..f3955ee11 100644 --- a/linux/runner/main.cc +++ b/linux/runner/main.cc @@ -1,6 +1,9 @@ #include "my_application.h" int main(int argc, char** argv) { + // Flutter 3.50's Wayland renderer leaves the window black on some + // compositors, so prefer X11. GDK_BACKEND=wayland overrides. + gdk_set_allowed_backends("x11,wayland"); g_autoptr(MyApplication) app = my_application_new(); return g_application_run(G_APPLICATION(app), argc, argv); }