From b125ce8005f494ceafadc25e9fd885b520596482 Mon Sep 17 00:00:00 2001 From: Drakulix Date: Sun, 7 Jan 2018 22:37:44 +0100 Subject: [PATCH] Fix backend_drm feature --- src/backend/drm/mod.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/backend/drm/mod.rs b/src/backend/drm/mod.rs index aa8a1ea..57817da 100644 --- a/src/backend/drm/mod.rs +++ b/src/backend/drm/mod.rs @@ -208,7 +208,6 @@ //! # } //! ``` -#[cfg(feature = "backend_session")] use backend::graphics::egl::context::{EGLContext, GlAttributes}; use backend::graphics::egl::error::Result as EGLResult; use backend::graphics::egl::native::Gbm; @@ -231,9 +230,9 @@ use std::path::PathBuf; use std::rc::{Rc, Weak}; use std::sync::{Once, ONCE_INIT}; use std::time::Duration; +use wayland_server::{Display, EventLoopHandle, StateToken}; #[cfg(feature = "backend_session")] -use wayland_server::{Display, StateProxy}; -use wayland_server::{EventLoopHandle, StateToken}; +use wayland_server::StateProxy; use wayland_server::sources::{FdEventSource, FdEventSourceImpl, FdInterest}; mod backend;