Disable Smithay use_system_lib to use Rust backend to wayland-rs

It seems this was needed for `renderer.bind_wl_display`. But only in the
X11 and winit backends. Unless there's some less obvious reason to use
the `use_system_lib` feature, it seems undesirable and avoidable.

This uses `WlDrmState` to provide `wl_drm` on those backends instead.
This commit is contained in:
Ian Douglas Scott 2024-05-14 12:42:44 -07:00 committed by Victoria Brekenfeld
parent 47f8c1da38
commit dfb3bea595
4 changed files with 49 additions and 55 deletions

6
Cargo.lock generated
View file

@ -1968,8 +1968,6 @@ dependencies = [
"drm-fourcc",
"gbm-sys",
"libc",
"wayland-backend",
"wayland-server",
]
[[package]]
@ -4595,13 +4593,11 @@ dependencies = [
"thiserror",
"tracing",
"udev",
"wayland-backend",
"wayland-egl",
"wayland-protocols",
"wayland-protocols-misc",
"wayland-protocols-wlr",
"wayland-server",
"wayland-sys",
"winit",
"x11rb",
"xkbcommon",
@ -5678,9 +5674,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "15a0c8eaff5216d07f226cb7a549159267f3467b289d9a2e52fd3ef5aae2b7af"
dependencies = [
"dlib",
"libc",
"log",
"memoffset 0.9.0",
"once_cell",
"pkg-config",
]