Update winit dev-dependency
This commit is contained in:
parent
ae0833e3d2
commit
60df607d3f
2 changed files with 2 additions and 2 deletions
|
|
@ -25,7 +25,7 @@ clipboard_x11 = { version = "0.1.0", path = "./x11" }
|
|||
clipboard_wayland = { version = "0.1.0", path = "./wayland" }
|
||||
|
||||
[dev-dependencies]
|
||||
winit = "=0.20.0-alpha5"
|
||||
winit = "0.22"
|
||||
|
||||
[workspace]
|
||||
members = [
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ fn main() {
|
|||
let clipboard = Clipboard::new(&window).expect("Create clipboard");
|
||||
|
||||
event_loop.run(move |event, _, control_flow| match event {
|
||||
Event::EventsCleared => {
|
||||
Event::MainEventsCleared => {
|
||||
println!("{:?}", clipboard.read());
|
||||
}
|
||||
Event::WindowEvent {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue