Skip to content

Commit 1af154c

Browse files
authored
Merge pull request #88 from Smithay/docs-cleanup
Cleanup the documentation links
2 parents 320304f + 3a8a12a commit 1af154c

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## Unreleased
22

33
- **Breaking:** `Device::name`, `Device::output_name`, `Seat::physical_name` and `Seat::logical_name` now return Cow strings due to lossy conversion into UTF8
4+
- **Breaking:** `Device::config_tap_default_drag_lock_enabled` and `Device::config_tap_set_drag_lock_enabled` now use `DragLockState` type rather than `bool`
45
- Added support for libinput 1.23, 1.26, 1.27, 1.28 features
56

67
## 0.9.1

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,6 @@ libinput_1_28 = ["input-sys/libinput_1_28", "libinput_1_27"]
4646
members = [
4747
"input-sys"
4848
]
49+
50+
[package.metadata.docs.rs]
51+
features = ["libinput_1_28"]

src/device.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1372,7 +1372,7 @@ impl Device {
13721372
/// Check if configurable middle button emulation is enabled by
13731373
/// default on this device.
13741374
///
1375-
/// See [Middle button emulation](https://wayland.freedesktop.org/libinput/doc/latest/middle_button_emulation.html) for details.
1375+
/// See [Middle button emulation](https://wayland.freedesktop.org/libinput/doc/latest/middle-button-emulation.html) for details.
13761376
///
13771377
/// If the device does not have configurable middle button
13781378
/// emulation, this function returns `false`.
@@ -1395,7 +1395,7 @@ impl Device {
13951395
/// Check if configurable middle button emulation is enabled on
13961396
/// this device.
13971397
///
1398-
/// See [Middle button emulation](https://wayland.freedesktop.org/libinput/doc/latest/middle_button_emulation.html)
1398+
/// See [Middle button emulation](https://wayland.freedesktop.org/libinput/doc/latest/middle-button-emulation.html)
13991399
/// for details.
14001400
///
14011401
/// If the device does not have configurable middle button
@@ -1418,7 +1418,7 @@ impl Device {
14181418
/// Check if middle mouse button emulation configuration is
14191419
/// available on this device.
14201420
///
1421-
/// See [Middle button emulation](https://wayland.freedesktop.org/libinput/doc/latest/middle_button_emulation.html)
1421+
/// See [Middle button emulation](https://wayland.freedesktop.org/libinput/doc/latest/middle-button-emulation.html)
14221422
/// for details.
14231423
///
14241424
/// ## Note
@@ -1435,7 +1435,7 @@ impl Device {
14351435
/// buttons generates a middle mouse button release, the left and
14361436
/// right button events are discarded otherwise.
14371437
///
1438-
/// See [Middle button emulation](https://wayland.freedesktop.org/libinput/doc/latest/middle_button_emulation.html)
1438+
/// See [Middle button emulation](https://wayland.freedesktop.org/libinput/doc/latest/middle-button-emulation.html)
14391439
/// for details.
14401440
pub fn config_middle_emulation_set_enabled(&self, enabled: bool) -> DeviceConfigResult {
14411441
match unsafe {

0 commit comments

Comments
 (0)