diff options
author | 2024-08-12 03:10:46 +0200 | |
---|---|---|
committer | 2024-08-12 03:10:46 +0200 | |
commit | afa8ad3b11818c431ea8c40fc4af10de528d9a8f (patch) | |
tree | e05b43b71be07b9e0d4b47b1ede30aa3fb2450ed /examples/integration | |
parent | 7decbb3d5d0e72fd4667840568411bcb867feca5 (diff) | |
download | iced-afa8ad3b11818c431ea8c40fc4af10de528d9a8f.tar.gz iced-afa8ad3b11818c431ea8c40fc4af10de528d9a8f.tar.bz2 iced-afa8ad3b11818c431ea8c40fc4af10de528d9a8f.zip |
Fix `integration` example
Diffstat (limited to 'examples/integration')
-rw-r--r-- | examples/integration/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/integration/src/main.rs b/examples/integration/src/main.rs index 9818adf3..5b64cbd1 100644 --- a/examples/integration/src/main.rs +++ b/examples/integration/src/main.rs @@ -68,7 +68,7 @@ pub fn main() -> Result<(), winit::error::EventLoopError> { Size::new(physical_size.width, physical_size.height), window.scale_factor(), ); - let clipboard = Clipboard::connect(&window); + let clipboard = Clipboard::connect(window.clone()); let backend = wgpu::util::backend_bits_from_env().unwrap_or_default(); |