diff --git a/Cargo.toml b/Cargo.toml index 1da784e..044e37a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "clipboard-sync" description = " Synchronizes the clipboard across multiple X11 and wayland instances running on the same machine. " -version = "0.2.0" +version = "0.2.1" edition = "2021" license = "MIT OR Apache-2.0" @@ -11,8 +11,8 @@ backtrace = [] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -wayland-client = "0.29.4" -wl-clipboard-rs = "0.7.0" +wayland-client = "0.31.15" +wl-clipboard-rs = "0.9.3" cli-clipboard = "0.2.0" arboard = "2.0.0" x11-clipboard = "0.5.3" diff --git a/src/sync.rs b/src/sync.rs index 270de67..06e88d1 100644 --- a/src/sync.rs +++ b/src/sync.rs @@ -203,7 +203,7 @@ fn get_wayland(n: u8) -> MyResult>> { }; let attempt = clipboard.get(); if let Err(MyError::WlcrsPaste(PasteError::WaylandConnection( - ConnectError::NoCompositorListening, + ConnectError::NoCompositor, ))) = attempt { return Ok(None); @@ -214,10 +214,10 @@ fn get_wayland(n: u8) -> MyResult>> { })) = attempt { log::warning!( - "{wl_display} does not support zwlr_data_control_manager_v1. If you are running \ -gnome in wayland, that's OK because it provides an x11 clipboard, which will be used instead. \ -Otherwise, `wl-copy` will be used to sync data *into* this clipboard, but it will not be possible \ -to read data *from* this clipboard into other clipboards." + "{wl_display} does not support ext-data-control-v1 or wlr-data-control-unstable-v1. \ +If you are running Gnome in Wayland session, that's OK because it provides an x11 clipboard, \ +which will be used instead. Otherwise, `wl-copy` will be used to sync data *into* this clipboard, \ +but it will not be possible to read data *from* this clipboard into other clipboards." ); let command = WlCommandClipboard { display: wl_display.clone(),