diff --git a/Cargo.toml b/Cargo.toml index 1242a90..1c34590 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -63,5 +63,5 @@ wayland_frontend = ["wayland-server", "wayland-commons", "wayland-protocols"] xwayland = ["wayland_frontend"] [[example]] -name = "raw_drm" +name = "raw_legacy_drm" required-features = ["backend_drm_legacy"] diff --git a/examples/raw_drm.rs b/examples/raw_legacy_drm.rs similarity index 98% rename from examples/raw_drm.rs rename to examples/raw_legacy_drm.rs index a540bac..8726908 100644 --- a/examples/raw_drm.rs +++ b/examples/raw_legacy_drm.rs @@ -6,8 +6,9 @@ extern crate slog; use slog::Drain; use smithay::{ backend::drm::{ + common::Error, device_bind, - legacy::{Error, LegacyDrmDevice, LegacyDrmSurface}, + legacy::{LegacyDrmDevice, LegacyDrmSurface}, Device, DeviceHandler, RawSurface, Surface, }, reexports::{