diff --git a/Cargo.toml b/Cargo.toml index b21eed8..ce2cf15 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,5 +26,5 @@ objc_id = "0.1" objc-foundation = "0.1" [target.'cfg(all(unix, not(any(target_os="macos", target_os="android", target_os="ios", target_os="emscripten"))))'.dependencies] -x11-clipboard = { version = "0.5.1", optional = true } +x11-clipboard = { version = "0.6.1", optional = true } smithay-clipboard = { version = "0.6.0", optional = true } diff --git a/src/x11_clipboard.rs b/src/x11_clipboard.rs index dfa9814..a1feeeb 100644 --- a/src/x11_clipboard.rs +++ b/src/x11_clipboard.rs @@ -15,7 +15,7 @@ use std::marker::PhantomData; use std::time::Duration; -use x11_clipboard::xcb::xproto::Atom; +use x11_clipboard::xcb::x::Atom; use x11_clipboard::{Atoms, Clipboard as X11Clipboard}; use crate::common::*;