Skip to content

Commit

Permalink
fix: multiwindow a11y fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
wash2 committed Aug 19, 2024
1 parent 6b29eb6 commit 6ac2dfa
Show file tree
Hide file tree
Showing 3 changed files with 123 additions and 74 deletions.
9 changes: 8 additions & 1 deletion examples/multi_window/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,11 @@ edition = "2021"
publish = false

[dependencies]
iced = { path = "../..", features = ["debug", "winit", "multi-window"] }
iced = { path = "../..", features = [
"a11y",
"tokio",
"debug",
"winit",
"multi-window",
"tiny-skia",
] }
5 changes: 1 addition & 4 deletions winit/src/application.rs
Original file line number Diff line number Diff line change
Expand Up @@ -607,10 +607,7 @@ async fn run_instance<A, E, C>(
let mut viewport_version = state.viewport_version();
let physical_size = state.physical_size();

let mut clipboard = Clipboard::connect(
&window,
crate::proxy::Proxy::new(proxy.raw.clone()).0,
);
let mut clipboard = Clipboard::connect(&window, proxy.clone());
let mut cache = user_interface::Cache::default();

#[cfg(feature = "a11y")]
Expand Down
Loading

0 comments on commit 6ac2dfa

Please sign in to comment.