- Breaking:
Device::name, Device::output_name, Seat::physical_name and Seat::logical_name now return Cow strings due to lossy conversion into UTF8
- Breaking:
Device::config_tap_default_drag_lock_enabled and Device::config_tap_set_drag_lock_enabled now use DragLockState type rather than bool
- 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>