commit
45cda23798
2 changed files with 3 additions and 3 deletions
|
|
@ -10,5 +10,5 @@ documentation = "https://docs.rs/clipboard_x11"
|
||||||
keywords = ["clipboard", "x11"]
|
keywords = ["clipboard", "x11"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
x11rb = "0.9"
|
x11rb = "0.11"
|
||||||
thiserror = "1.0"
|
thiserror = "1.0"
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ pub use error::Error;
|
||||||
|
|
||||||
use x11rb::connection::Connection as _;
|
use x11rb::connection::Connection as _;
|
||||||
use x11rb::errors::ConnectError;
|
use x11rb::errors::ConnectError;
|
||||||
use x11rb::protocol::xproto::{self, Atom, AtomEnum, Window};
|
use x11rb::protocol::xproto::{self, Atom, AtomEnum, EventMask, Window};
|
||||||
use x11rb::protocol::Event;
|
use x11rb::protocol::Event;
|
||||||
use x11rb::rust_connection::RustConnection as Connection;
|
use x11rb::rust_connection::RustConnection as Connection;
|
||||||
use x11rb::wrapper::ConnectionExt;
|
use x11rb::wrapper::ConnectionExt;
|
||||||
|
|
@ -388,7 +388,7 @@ impl Worker {
|
||||||
&self.context.connection,
|
&self.context.connection,
|
||||||
false,
|
false,
|
||||||
event.requestor,
|
event.requestor,
|
||||||
0u32,
|
EventMask::NO_EVENT,
|
||||||
xproto::SelectionNotifyEvent {
|
xproto::SelectionNotifyEvent {
|
||||||
response_type: 31,
|
response_type: 31,
|
||||||
sequence: event.sequence,
|
sequence: event.sequence,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue