libinput: add missing #[cfg()]
This commit is contained in:
parent
7bbd284f0b
commit
243d2d8b38
|
@ -38,6 +38,7 @@ pub struct LibinputInputBackend {
|
|||
context: libinput::Libinput,
|
||||
config: LibinputConfig,
|
||||
seats: HashMap<libinput::Seat, backend::Seat>,
|
||||
#[cfg(feature = "backend_session")]
|
||||
links: Vec<SignalToken>,
|
||||
logger: ::slog::Logger,
|
||||
}
|
||||
|
@ -55,6 +56,7 @@ impl LibinputInputBackend {
|
|||
context,
|
||||
config: LibinputConfig { devices: Vec::new() },
|
||||
seats: HashMap::new(),
|
||||
#[cfg(feature = "backend_session")]
|
||||
links: Vec::new(),
|
||||
logger: log,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue