Merge pull request #77 from Smithay/fix/auto_id_clone
Add missing derives for AutoId
This commit is contained in:
commit
c6109f41ba
|
@ -75,9 +75,9 @@ pub enum BoundAutoSession {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Id's used by the `AutoSessionNotifier` internally.
|
/// Id's used by the `AutoSessionNotifier` internally.
|
||||||
#[derive(PartialEq, Eq)]
|
#[derive(Debug, PartialEq, Eq, Clone, Copy)]
|
||||||
pub struct AutoId(AutoIdInternal);
|
pub struct AutoId(AutoIdInternal);
|
||||||
#[derive(PartialEq, Eq)]
|
#[derive(Debug, PartialEq, Eq, Clone, Copy)]
|
||||||
enum AutoIdInternal {
|
enum AutoIdInternal {
|
||||||
#[cfg(feature = "backend_session_logind")]
|
#[cfg(feature = "backend_session_logind")]
|
||||||
Logind(logind::Id),
|
Logind(logind::Id),
|
||||||
|
|
Loading…
Reference in New Issue