x11: Update x11rb

This commit is contained in:
Ian Douglas Scott 2023-01-12 10:25:00 -08:00
parent 18cc5b91ff
commit 64e806fccd
2 changed files with 3 additions and 3 deletions

View file

@ -10,5 +10,5 @@ documentation = "https://docs.rs/clipboard_x11"
keywords = ["clipboard", "x11"]
[dependencies]
x11rb = "0.9"
x11rb = "0.11"
thiserror = "1.0"

View file

@ -5,7 +5,7 @@ pub use error::Error;
use x11rb::connection::Connection as _;
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::rust_connection::RustConnection as Connection;
use x11rb::wrapper::ConnectionExt;
@ -388,7 +388,7 @@ impl Worker {
&self.context.connection,
false,
event.requestor,
0u32,
EventMask::NO_EVENT,
xproto::SelectionNotifyEvent {
response_type: 31,
sequence: event.sequence,