chore(tauri-runtime-wry): update tao to 0.30 and wry to 0.43 (#10895)

This commit is contained in:
Lucas Fernandes Nogueira
2024-09-04 09:51:42 -03:00
committed by GitHub
parent 0c46e48860
commit 77056b194a
4 changed files with 12 additions and 7 deletions

5
.changes/update-wry.md Normal file
View File

@@ -0,0 +1,5 @@
---
"tauri-runtime-wry": patch:deps
---
Update tao to 0.30 and wry to 0.43.

8
Cargo.lock generated
View File

@@ -6952,9 +6952,9 @@ dependencies = [
[[package]]
name = "tao"
version = "0.29.1"
version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d3a97abbc7d6cfd0720da3e06fcb1cf2ac87cbfdb5bbbce103a1279a211c4d81"
checksum = "2a93f2c6b8fdaeb7f417bda89b5bc767999745c3052969664ae1fa65892deb7e"
dependencies = [
"bitflags 2.6.0",
"cocoa",
@@ -8978,9 +8978,9 @@ checksum = "d135d17ab770252ad95e9a872d365cf3090e3be864a34ab46f48555993efc904"
[[package]]
name = "wry"
version = "0.42.0"
version = "0.43.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "49b8049c8f239cdbfaaea4bacb9646f6b208938ceec0acd5b3e99cd05f70903f"
checksum = "f4d715cf5fe88e9647f3d17b207b6d060d4a88e7171d4ccb2d2c657dd1d44728"
dependencies = [
"base64 0.22.1",
"block",

View File

@@ -17,13 +17,13 @@ rustc-args = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
wry = { version = "0.42", default-features = false, features = [
wry = { version = "0.43.1", default-features = false, features = [
"drag-drop",
"protocol",
"os-webview",
"linux-body",
] }
tao = { version = "0.29.1", default-features = false, features = ["rwh_06"] }
tao = { version = "0.30", default-features = false, features = ["rwh_06"] }
tauri-runtime = { version = "2.0.0-rc.7", path = "../tauri-runtime" }
tauri-utils = { version = "2.0.0-rc.7", path = "../tauri-utils" }
raw-window-handle = "0.6"

View File

@@ -2912,7 +2912,7 @@ fn handle_user_message<T: UserEvent>(
#[allow(unused_variables)]
WindowMessage::SetSkipTaskbar(skip) => {
#[cfg(any(windows, target_os = "linux"))]
window.set_skip_taskbar(skip);
let _ = window.set_skip_taskbar(skip);
}
WindowMessage::SetCursorGrab(grab) => {
let _ = window.set_cursor_grab(grab);