Releases: Smithay/input.rs
Releases · Smithay/input.rs
v0.10.0
- Breaking:
Device::name,Device::output_name,Seat::physical_nameandSeat::logical_namenow return Cow strings due to lossy conversion into UTF8 - Breaking:
Device::config_tap_default_drag_lock_enabledandDevice::config_tap_set_drag_lock_enablednow useDragLockStatetype rather thanbool - Added support for libinput 1.23, 1.26, 1.27, 1.28, 1.29, 1.30 features
-fn input::Device::config_tap_default_drag_lock_enabled(&self) -> bool
+fn input::Device::config_tap_default_drag_lock_enabled(&self) -> input::DragLockState
-fn input::Device::config_tap_set_drag_lock_enabled(&mut self, enabled: bool) -> input::DeviceConfigResult
+fn input::Device::config_tap_set_drag_lock_enabled(&mut self, state: input::DragLockState) -> input::DeviceConfigResult
-fn input::Device::name(&self) -> &str
+fn input::Device::name(&self) -> Cow<'_, str>
-fn input::Device::output_name(&self) -> Option<&str>
+fn input::Device::output_name(&self) -> Option<Cow<'_, str>>
-fn input::Seat::logical_name(&self) -> &str
+fn input::Seat::logical_name(&self) -> Cow<'_, str>
-fn input::Seat::physical_name(&self) -> &str
+fn input::Seat::physical_name(&self) -> Cow<'_, str>