Downgrade accesskit_unix to 0.17.0
Browse files at this commitd7905e6b74e3768b23414ef3f3c4b5411730a4bfParent: 71d7fa93 changed files +36 -41
- Cargo.lock +30 -35
- Cargo.toml +5 -2
- src/a11y.rs +1 -4
Cargo.lockmodified+30 -35
| @@ -4,42 +4,39 @@ version = 4 | |||
| 4 | 4 | ||
| 5 | [[package]] | 5 | [[package]] |
| 6 | name = "accesskit" | 6 | name = "accesskit" |
| 7 | -version = "0.24.0" | 7 | +version = "0.21.1" |
| 8 | source = "registry+https://github.com/rust-lang/crates.io-index" | 8 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 9 | -checksum = "5351dcebb14b579ccab05f288596b2ae097005be7ee50a7c3d4ca9d0d5a66f6a" | 9 | +checksum = "cf203f9d3bd8f29f98833d1fbef628df18f759248a547e7e01cfbf63cda36a99" |
| 10 | -dependencies = [ | ||
| 11 | - "uuid", | ||
| 12 | -] | ||
| 13 | 10 | ||
| 14 | [[package]] | 11 | [[package]] |
| 15 | name = "accesskit_atspi_common" | 12 | name = "accesskit_atspi_common" |
| 16 | -version = "0.18.0" | 13 | +version = "0.14.2" |
| 17 | source = "registry+https://github.com/rust-lang/crates.io-index" | 14 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 18 | -checksum = "842fd8203e6dfcf531d24f5bac792088edfba7d6b35844fead191603fb32a260" | 15 | +checksum = "890d241cf51fc784f0ac5ac34dfc847421f8d39da6c7c91a0fcc987db62a8267" |
| 19 | dependencies = [ | 16 | dependencies = [ |
| 20 | "accesskit", | 17 | "accesskit", |
| 21 | "accesskit_consumer", | 18 | "accesskit_consumer", |
| 22 | "atspi-common", | 19 | "atspi-common", |
| 23 | - "phf", | ||
| 24 | "serde", | 20 | "serde", |
| 21 | + "thiserror 1.0.69", | ||
| 25 | "zvariant", | 22 | "zvariant", |
| 26 | ] | 23 | ] |
| 27 | 24 | ||
| 28 | [[package]] | 25 | [[package]] |
| 29 | name = "accesskit_consumer" | 26 | name = "accesskit_consumer" |
| 30 | -version = "0.35.0" | 27 | +version = "0.31.0" |
| 31 | source = "registry+https://github.com/rust-lang/crates.io-index" | 28 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 32 | -checksum = "53cf47daed85312e763fbf85ceca136e0d7abc68e0a7e12abe11f48172bc3b10" | 29 | +checksum = "db81010a6895d8707f9072e6ce98070579b43b717193d2614014abd5cb17dd43" |
| 33 | dependencies = [ | 30 | dependencies = [ |
| 34 | "accesskit", | 31 | "accesskit", |
| 35 | - "hashbrown 0.16.1", | 32 | + "hashbrown 0.15.5", |
| 36 | ] | 33 | ] |
| 37 | 34 | ||
| 38 | [[package]] | 35 | [[package]] |
| 39 | name = "accesskit_unix" | 36 | name = "accesskit_unix" |
| 40 | -version = "0.21.0" | 37 | +version = "0.17.2" |
| 41 | source = "registry+https://github.com/rust-lang/crates.io-index" | 38 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 42 | -checksum = "90e549dd7c6562b6a2ea807b44726e6241707db054a817dc4c7e2b8d3b39bfac" | 39 | +checksum = "301e55b39cfc15d9c48943ce5f572204a551646700d0e8efa424585f94fec528" |
| 43 | dependencies = [ | 40 | dependencies = [ |
| 44 | "accesskit", | 41 | "accesskit", |
| 45 | "accesskit_atspi_common", | 42 | "accesskit_atspi_common", |
| @@ -376,19 +373,20 @@ checksum = "628d228f918ac3b82fe590352cc719d30664a0c13ca3a60266fe02c7132d480a" | |||
| 376 | 373 | ||
| 377 | [[package]] | 374 | [[package]] |
| 378 | name = "atspi" | 375 | name = "atspi" |
| 379 | -version = "0.29.0" | 376 | +version = "0.25.0" |
| 380 | source = "registry+https://github.com/rust-lang/crates.io-index" | 377 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 381 | -checksum = "c77886257be21c9cd89a4ae7e64860c6f0eefca799bb79127913052bd0eefb3d" | 378 | +checksum = "c83247582e7508838caf5f316c00791eee0e15c0bf743e6880585b867e16815c" |
| 382 | dependencies = [ | 379 | dependencies = [ |
| 383 | "atspi-common", | 380 | "atspi-common", |
| 381 | + "atspi-connection", | ||
| 384 | "atspi-proxies", | 382 | "atspi-proxies", |
| 385 | ] | 383 | ] |
| 386 | 384 | ||
| 387 | [[package]] | 385 | [[package]] |
| 388 | name = "atspi-common" | 386 | name = "atspi-common" |
| 389 | -version = "0.13.0" | 387 | +version = "0.9.0" |
| 390 | source = "registry+https://github.com/rust-lang/crates.io-index" | 388 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 391 | -checksum = "20c5617155740c98003016429ad13fe43ce7a77b007479350a9f8bf95a29f63d" | 389 | +checksum = "33dfc05e7cdf90988a197803bf24f5788f94f7c94a69efa95683e8ffe76cfdfb" |
| 392 | dependencies = [ | 390 | dependencies = [ |
| 393 | "enumflags2", | 391 | "enumflags2", |
| 394 | "serde", | 392 | "serde", |
| @@ -400,11 +398,23 @@ dependencies = [ | |||
| 400 | "zvariant", | 398 | "zvariant", |
| 401 | ] | 399 | ] |
| 402 | 400 | ||
| 401 | +[[package]] | ||
| 402 | +name = "atspi-connection" | ||
| 403 | +version = "0.9.0" | ||
| 404 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 405 | +checksum = "4193d51303d8332304056ae0004714256b46b6635a5c556109b319c0d3784938" | ||
| 406 | +dependencies = [ | ||
| 407 | + "atspi-common", | ||
| 408 | + "atspi-proxies", | ||
| 409 | + "futures-lite", | ||
| 410 | + "zbus", | ||
| 411 | +] | ||
| 412 | + | ||
| 403 | [[package]] | 413 | [[package]] |
| 404 | name = "atspi-proxies" | 414 | name = "atspi-proxies" |
| 405 | -version = "0.13.0" | 415 | +version = "0.9.0" |
| 406 | source = "registry+https://github.com/rust-lang/crates.io-index" | 416 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 407 | -checksum = "2230e48787ed3eb4088996eab66a32ca20c0b67bbd4fd6cdfe79f04f1f04c9fc" | 417 | +checksum = "d2eebcb9e7e76f26d0bcfd6f0295e1cd1e6f33bedbc5698a971db8dc43d7751c" |
| 408 | dependencies = [ | 418 | dependencies = [ |
| 409 | "atspi-common", | 419 | "atspi-common", |
| 410 | "serde", | 420 | "serde", |
| @@ -1150,12 +1160,6 @@ version = "0.1.5" | |||
| 1150 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1160 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 1151 | checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" | 1161 | checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" |
| 1152 | 1162 | ||
| 1153 | -[[package]] | ||
| 1154 | -name = "foldhash" | ||
| 1155 | -version = "0.2.0" | ||
| 1156 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1157 | -checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" | ||
| 1158 | - | ||
| 1159 | [[package]] | 1163 | [[package]] |
| 1160 | name = "foreign-types" | 1164 | name = "foreign-types" |
| 1161 | version = "0.5.0" | 1165 | version = "0.5.0" |
| @@ -1662,16 +1666,7 @@ version = "0.15.5" | |||
| 1662 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1666 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 1663 | checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" | 1667 | checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" |
| 1664 | dependencies = [ | 1668 | dependencies = [ |
| 1665 | - "foldhash 0.1.5", | 1669 | + "foldhash", |
| 1666 | -] | ||
| 1667 | - | ||
| 1668 | -[[package]] | ||
| 1669 | -name = "hashbrown" | ||
| 1670 | -version = "0.16.1" | ||
| 1671 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1672 | -checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" | ||
| 1673 | -dependencies = [ | ||
| 1674 | - "foldhash 0.2.0", | ||
| 1675 | ] | 1670 | ] |
| 1676 | 1671 | ||
| 1677 | [[package]] | 1672 | [[package]] |
Cargo.tomlmodified+5 -2
| @@ -55,8 +55,11 @@ readme = "README.md" | |||
| 55 | keywords = ["wayland", "compositor", "tiling", "smithay", "wm"] | 55 | keywords = ["wayland", "compositor", "tiling", "smithay", "wm"] |
| 56 | 56 | ||
| 57 | [dependencies] | 57 | [dependencies] |
| 58 | -accesskit = { version = "0.24.0", optional = true } | 58 | +# accesskit_unix 0.18 has a regression where it doesn't work in normal configurations. |
| 59 | -accesskit_unix = { version = "0.21.0", optional = true } | 59 | +# accesskit 0.21 is its correct dependent version. |
| 60 | +# https://github.com/niri-wm/niri/issues/3594 | ||
| 61 | +accesskit = { version = "0.21", optional = true } | ||
| 62 | +accesskit_unix = { version = "0.17", optional = true } | ||
| 60 | anyhow.workspace = true | 63 | anyhow.workspace = true |
| 61 | arrayvec = "0.7.6" | 64 | arrayvec = "0.7.6" |
| 62 | async-channel = "2.5.0" | 65 | async-channel = "2.5.0" |
src/a11y.rsmodified+1 -4
| @@ -3,7 +3,7 @@ use std::thread; | |||
| 3 | 3 | ||
| 4 | use accesskit::{ | 4 | use accesskit::{ |
| 5 | ActionHandler, ActionRequest, ActivationHandler, DeactivationHandler, Live, Node, NodeId, Role, | 5 | ActionHandler, ActionRequest, ActivationHandler, DeactivationHandler, Live, Node, NodeId, Role, |
| 6 | - Tree, TreeId, TreeUpdate, | 6 | + Tree, TreeUpdate, |
| 7 | }; | 7 | }; |
| 8 | use accesskit_unix::Adapter; | 8 | use accesskit_unix::Adapter; |
| 9 | use calloop::LoopHandle; | 9 | use calloop::LoopHandle; |
| @@ -220,7 +220,6 @@ impl Niri { | |||
| 220 | let update = TreeUpdate { | 220 | let update = TreeUpdate { |
| 221 | nodes, | 221 | nodes, |
| 222 | tree: None, | 222 | tree: None, |
| 223 | - tree_id: TreeId::ROOT, | ||
| 224 | focus, | 223 | focus, |
| 225 | }; | 224 | }; |
| 226 | 225 | ||
| @@ -247,7 +246,6 @@ impl Niri { | |||
| 247 | let update = TreeUpdate { | 246 | let update = TreeUpdate { |
| 248 | nodes: vec![(ID_ANNOUNCEMENT, node)], | 247 | nodes: vec![(ID_ANNOUNCEMENT, node)], |
| 249 | tree: None, | 248 | tree: None, |
| 250 | - tree_id: TreeId::ROOT, | ||
| 251 | focus: self.a11y.focus, | 249 | focus: self.a11y.focus, |
| 252 | }; | 250 | }; |
| 253 | 251 | ||
| @@ -341,7 +339,6 @@ impl Niri { | |||
| 341 | (ID_MRU, mru), | 339 | (ID_MRU, mru), |
| 342 | ], | 340 | ], |
| 343 | tree: Some(tree), | 341 | tree: Some(tree), |
| 344 | - tree_id: TreeId::ROOT, | ||
| 345 | focus, | 342 | focus, |
| 346 | } | 343 | } |
| 347 | } | 344 | } |