Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7f7d3e59d7
|
||
|
|
aa89f5a15e
|
No files matched your search
@@ -13,9 +13,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
rust: ["1.75", stable]
|
||||
rust: ["1.85", stable]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
- uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: ${{ matrix.rust }}
|
||||
@@ -28,7 +28,7 @@ jobs:
|
||||
clippy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
components: clippy
|
||||
@@ -41,7 +41,7 @@ jobs:
|
||||
fmt:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
components: rustfmt
|
||||
|
||||
Generated
+1
-1
@@ -196,7 +196,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "mousefree"
|
||||
version = "1.0.0"
|
||||
version = "1.0.1"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"fontdue",
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "mousefree"
|
||||
version = "1.0.0"
|
||||
version = "1.0.1"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
description = "Keyboard-driven mouse navigation for Wayland"
|
||||
@@ -10,7 +10,7 @@ readme = "README.md"
|
||||
keywords = ["wayland", "keyboard", "mouse", "accessibility", "navigation"]
|
||||
categories = ["command-line-utilities", "accessibility"]
|
||||
authors = ["Stephen Waits <steve@waits.net>"]
|
||||
rust-version = "1.75"
|
||||
rust-version = "1.85"
|
||||
|
||||
[dependencies]
|
||||
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
|
||||
// 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;
|
||||
}
|
||||
// Ctrl-[ acts as Escape (evdev keycode 26 = '[').
|
||||
|
||||
Reference in new issue
Block a user