From 09859963945d79f2998010a4544c798982610c24 Mon Sep 17 00:00:00 2001 From: bbb651 Date: Thu, 16 Jan 2025 01:55:06 +0200 Subject: [PATCH] Use wayland if available This make linux builds hybird wayland/x11 instead of them being x11 only currently, with the slight downside of requiring wayland for building (not a problem for CI, and I think the amount of people who are building from source on x11 only systems is small). See this issue for more detail: https://github.com/fltk-rs/fltk-rs/issues/1602 Fixes #3. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 7b97408..7072820 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ clap = { version = "4.5.18", features = ["derive"] } clap_complete = "4.5.29" dirs = "^5.0" fastwebsockets = { version = "0.8.0", features = ["upgrade", "unstable-split"] } -fltk = { version = "^1" } +fltk = { version = "^1.3", features = ["use-wayland"] } fltk-theme = "0.7.3" handlebars = "^6.1" http-body-util = "0.1.2"