diff --git a/Cargo.toml b/Cargo.toml index c4778da..e3730d8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,4 +16,4 @@ objc_id = "0.1" objc-foundation = "0.1" [target.'cfg(all(unix, not(any(target_os="macos", target_os="android", target_os="emscripten"))))'.dependencies] -x11-clipboard = "0.3" +x11-clipboard = "0.6" diff --git a/src/x11_clipboard.rs b/src/x11_clipboard.rs index 79d34aa..436d0fa 100644 --- a/src/x11_clipboard.rs +++ b/src/x11_clipboard.rs @@ -20,7 +20,7 @@ use std::marker::PhantomData; use common::*; use x11_clipboard_crate::Atoms; use x11_clipboard_crate::Clipboard as X11Clipboard; -use x11_clipboard_crate::xcb::xproto::Atom; +use x11_clipboard_crate::xcb::x::Atom; pub trait Selection { fn atom(atoms: &Atoms) -> Atom;