Skip to content

Commit

Permalink
Use new sctk api (espanso#1901)
Browse files Browse the repository at this point in the history
* Use new sctk api.

This also fixes the issue with the unresponsive window under wayland.

The cause appears to have been associating a callback with the keyboard
created, since this issue is reproducible with the new API if a
keyboard_with_repeat is created and a repeat callback passed.

* update sctk version

* clippy: ignore many_single_char_names in

* make clippy happy

---------

Co-authored-by: morgan-dgk <morgan.k@skiff.com>
  • Loading branch information
morgan-dgk and morgan-dgk authored Mar 14, 2024
1 parent d99e5d9 commit 4e6839c
Show file tree
Hide file tree
Showing 2 changed files with 452 additions and 211 deletions.
2 changes: 1 addition & 1 deletion espanso-detect/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ widestring = "0.4.3"
[target.'cfg(target_os="linux")'.dependencies]
libc = "0.2.85"
scopeguard = "1.1.0"
sctk = { package = "smithay-client-toolkit", version = "0.16.1", optional = true }
sctk = { package = "smithay-client-toolkit", version = "0.18.1", optional = true }

[build-dependencies]
cc = "1.0.73"
Loading

0 comments on commit 4e6839c

Please sign in to comment.