diff --git a/winit/Cargo.toml b/winit/Cargo.toml index a96e2665..f0985c92 100644 --- a/winit/Cargo.toml +++ b/winit/Cargo.toml @@ -14,14 +14,6 @@ keywords.workspace = true workspace = true [features] -default = ["x11", "wayland", "wayland-dlopen"] -debug = ["iced_debug/enable"] -sysinfo = ["dep:sysinfo"] -unconditional-rendering = [] -linux-theme-detection = ["dep:mundy", "mundy/async-io", "mundy/color-scheme"] -x11 = ["winit/x11"] -system = ["sysinfo"] -program = [] wayland = [ "winit/wayland", "sctk", @@ -34,6 +26,14 @@ wayland = [ "xkeysym", "wayland-csd-adwaita", ] +default = ["x11", "wayland-dlopen"] +debug = ["iced_debug/enable"] +sysinfo = ["dep:sysinfo"] +unconditional-rendering = [] +linux-theme-detection = ["dep:mundy", "mundy/async-io", "mundy/color-scheme"] +x11 = ["winit/x11"] +system = ["sysinfo"] +program = [] wayland-dlopen = ["winit/wayland-dlopen"] wayland-csd-adwaita = ["winit/wayland-csd-adwaita"] multi-window = ["iced_runtime/multi-window"] diff --git a/winit/src/platform_specific/mod.rs b/winit/src/platform_specific/mod.rs index 9f6dc302..1ea388d1 100644 --- a/winit/src/platform_specific/mod.rs +++ b/winit/src/platform_specific/mod.rs @@ -66,7 +66,7 @@ impl PlatformSpecific { ) { match action { #[cfg(all(feature = "wayland", target_os = "linux"))] - platform_specific::Action::Wayland(a) => { + iced_runtime::platform_specific::Action::Wayland(a) => { self.send_wayland(wayland::Action::Action(a)); } } @@ -106,7 +106,7 @@ impl PlatformSpecific { wayland_display_handle.display.as_ptr().cast(), ) }; - Connection::from_backend(backend) + sctk::reexports::client::Connection::from_backend(backend) } _ => { return;