diff --git a/.travis.yml b/.travis.yml index 73bb244..1243de1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,6 +36,7 @@ env: - FEATURES="backend_udev" - FEATURES="backend_session" - FEATURES="backend_session_udev" + - FEATURES="backend_session_logind" - FEATURES="renderer_glium" # test default features - FEATURES="default" diff --git a/src/backend/session/auto.rs b/src/backend/session/auto.rs index 56c4e64..7c6530a 100644 --- a/src/backend/session/auto.rs +++ b/src/backend/session/auto.rs @@ -79,7 +79,8 @@ pub enum BoundAutoSession { pub struct AutoId(AutoIdInternal); #[derive(PartialEq, Eq)] enum AutoIdInternal { - #[cfg(feature = "backend_session_logind")] Logind(logind::Id), + #[cfg(feature = "backend_session_logind")] + Logind(logind::Id), Direct(direct::Id), }