2DG7PVTZAJ4NMGY2BNODJRLYTOV3MPTH3V6EZMK3WSIUZESLPQXQC
AWPTZQQYEYW2BMXCWYAWSZAVUE55YOMO7IE4VCXP5J4UOKUMKQFAC
SMM42WXFAYFMOMUR7DCVCZCK7QMXIE5KUH4GUOIZPVFDDYB4ZMZAC
KWR2TS2D7YN4LCGMQZ35V4WBLQDHAVSZJV3SZAIR5HQRSJAWLWCQC
RPECDMZ4O7MMU32H6Z7EW75GRVEQ6IJYNPWSV54HUPTCX5H7I26QC
LSQ7OPL7Z5WJDO7ZZS3D4UPMEEWUUF2LNQ3FZUWWFUVZEXA7CIOAC
K3I54HXNNCTEA7L6UGWIVBFB5TPZVZZXDBRSR2YZDIKREXQVWRIQC
YYUB6HZYSVQSCO7DGF6ETPAXTMG6SG2RQQXLP73NKPLDMZEC3PGAC
7RMAZDLQ6FEEQGUUAIVEM4X2VME7IUUZMEJMMV3H46U3UKO4BODQC
33MVG7KI2MNVI3JW2Q4EDMMDMTWVCNNP3UGONX5C7347CI2WIZYAC
7MWGEO4D53CRQYELJQJ3PMI3BZJNAJJRX7AESNZ4NMF23XGBFEGAC
JVO3ABY7VTFBUPUEPNXVSGWLCBJLPDHLSLZJEW2LSEOFUR5Z4RIAC
JUNCSETUHRAPHZYVBESYW4LTKL6EW3X4G73ILT736PWDXB45Z6GQC
ZJ22USKSC26EQ25RKGXJCRYR7RG65YNAVZ5TKN5WY6ADVAXB5YJAC
T6CZHRR6VHQWOPHF6QNK46X3KWAUHOJ422LOYMQP4YJ3FEVK4O2QC
[[package]]
name = "x11-dl"
version = "2.4.0"
source = "git+https://github.com/MetaDark/x11-rs.git#b582a8e605ef8281b4bca826b7403be137e78bd9"
dependencies = [
"dylib",
"libc",
]
let mut major_opcode = mem::uninitialized();
let mut first_event = mem::uninitialized();
let mut first_error = mem::uninitialized();
let mut major_opcode = MaybeUninit::uninit();
let mut first_event = MaybeUninit::uninit();
let mut first_error = MaybeUninit::uninit();
let host = X11Interface {
xlib: xlib,
xtest: xtest,
xinput2: xinput2,
xfixes: xfixes,
xfixes_event_base: xfixes_event_base,
let host = Self {
xlib,
xtest,
xinput2,
xfixes,
xfixes_event_base,
let mut root = mem::uninitialized();
let mut child = mem::uninitialized();
let mut root_x = mem::uninitialized();
let mut root_y = mem::uninitialized();
let mut child_x = mem::uninitialized();
let mut child_y = mem::uninitialized();
let mut mask = mem::uninitialized();
let mut root = MaybeUninit::uninit();
let mut child = MaybeUninit::uninit();
let mut root_x = MaybeUninit::uninit();
let mut root_y = MaybeUninit::uninit();
let mut child_x = MaybeUninit::uninit();
let mut child_y = MaybeUninit::uninit();
let mut mask = MaybeUninit::uninit();
/*
* FIXME(Future):
* Method delegation: https://github.com/rust-lang/rfcs/pull/1406
*/
impl Evented for X11Interface {
fn register(&self, selector: &mut Selector, token: Token, interest: EventSet, opts: PollOpt) -> io::Result<()> {
selector.register(self.connection_number(), token, interest, opts)
}
// /*
// * FIXME(Future):
// * Method delegation: https://github.com/rust-lang/rfcs/pull/1406
// */
// impl Evented for X11Interface {
// fn register(&self, selector: &mut Selector, token: Token, interest: EventSet, opts: PollOpt) -> io::Result<()> {
// selector.register(self.connection_number(), token, interest, opts)
// }
fn reregister(&self, selector: &mut Selector, token: Token, interest: EventSet, opts: PollOpt) -> io::Result<()> {
selector.reregister(self.connection_number(), token, interest, opts)
}
// fn reregister(&self, selector: &mut Selector, token: Token, interest: EventSet, opts: PollOpt) -> io::Result<()> {
// selector.reregister(self.connection_number(), token, interest, opts)
// }
fn deregister(&self, selector: &mut Selector) -> io::Result<()> {
selector.deregister(self.connection_number())
}
}
// fn deregister(&self, selector: &mut Selector) -> io::Result<()> {
// selector.deregister(self.connection_number())
// }
// }