From 74187f55fc79cf3b0be1a80aafbb256790f5bfc2 Mon Sep 17 00:00:00 2001 From: Victor Brekenfeld Date: Wed, 15 Apr 2020 23:26:38 +0200 Subject: [PATCH] examples: move raw_drm to raw_legacy_drm --- Cargo.toml | 2 +- examples/{raw_drm.rs => raw_legacy_drm.rs} | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) rename examples/{raw_drm.rs => raw_legacy_drm.rs} (98%) 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::{