Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7f7d3e59d7
|
||
|
|
aa89f5a15e
|
No files matched your search
@@ -13,9 +13,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
rust: ["1.75", stable]
|
rust: ["1.85", stable]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
- uses: dtolnay/rust-toolchain@master
|
- uses: dtolnay/rust-toolchain@master
|
||||||
with:
|
with:
|
||||||
toolchain: ${{ matrix.rust }}
|
toolchain: ${{ matrix.rust }}
|
||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
clippy:
|
clippy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
components: clippy
|
components: clippy
|
||||||
@@ -41,7 +41,7 @@ jobs:
|
|||||||
fmt:
|
fmt:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
components: rustfmt
|
components: rustfmt
|
||||||
|
|||||||
Generated
+1
-1
@@ -196,7 +196,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "mousefree"
|
name = "mousefree"
|
||||||
version = "1.0.0"
|
version = "1.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"fontdue",
|
"fontdue",
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "mousefree"
|
name = "mousefree"
|
||||||
version = "1.0.0"
|
version = "1.0.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
description = "Keyboard-driven mouse navigation for Wayland"
|
description = "Keyboard-driven mouse navigation for Wayland"
|
||||||
@@ -10,7 +10,7 @@ readme = "README.md"
|
|||||||
keywords = ["wayland", "keyboard", "mouse", "accessibility", "navigation"]
|
keywords = ["wayland", "keyboard", "mouse", "accessibility", "navigation"]
|
||||||
categories = ["command-line-utilities", "accessibility"]
|
categories = ["command-line-utilities", "accessibility"]
|
||||||
authors = ["Stephen Waits <steve@waits.net>"]
|
authors = ["Stephen Waits <steve@waits.net>"]
|
||||||
rust-version = "1.75"
|
rust-version = "1.85"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0"
|
anyhow = "1.0"
|
||||||
|
|||||||
+4
-1
@@ -647,7 +647,10 @@ impl Dispatch<wl_keyboard::WlKeyboard, ()> for WaylandState {
|
|||||||
} => {
|
} => {
|
||||||
// Ignore bare modifier press events; we track modifiers via
|
// Ignore bare modifier press events; we track modifiers via
|
||||||
// the Modifiers event instead.
|
// the Modifiers event instead.
|
||||||
if matches!(key, KEY_LSHIFT | KEY_RSHIFT | KEY_LCTRL | KEY_RCTRL | KEY_LALT | KEY_RALT) {
|
if matches!(
|
||||||
|
key,
|
||||||
|
KEY_LSHIFT | KEY_RSHIFT | KEY_LCTRL | KEY_RCTRL | KEY_LALT | KEY_RALT
|
||||||
|
) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// Ctrl-[ acts as Escape (evdev keycode 26 = '[').
|
// Ctrl-[ acts as Escape (evdev keycode 26 = '[').
|
||||||
|
|||||||
Reference in new issue
Block a user