1
0
Fork 0
forked from wry/wry

autocommit 2022-01-29 15:55:49 CET

This commit is contained in:
Julian Orth 2022-01-29 15:55:49 +01:00
parent 3d7c8ccdbf
commit 11d3604de4
40 changed files with 576 additions and 180 deletions

View file

@ -23,7 +23,7 @@ use std::ptr;
use std::rc::Rc;
use thiserror::Error;
use uapi::{c, OwnedFd};
use xcb_dl::{ffi, Xcb, XcbDri3, XcbPresent, XcbShm, XcbXinput, XcbXkb};
use xcb_dl::{ffi, Xcb, XcbDri3, XcbPresent, XcbXinput, XcbXkb};
use xcb_dl_util::error::{XcbError, XcbErrorParser};
use xcb_dl_util::xcb_box::XcbBox;
@ -66,9 +66,9 @@ pub enum XorgBackendError {
#[error("Could not query device")]
QueryDevice(#[source] XcbError),
}
efrom!(XorgBackendError, EventLoopError, EventLoopError);
efrom!(XorgBackendError, ServerMemError, ServerMemError);
efrom!(XorgBackendError, WheelError, WheelError);
efrom!(XorgBackendError, EventLoopError);
efrom!(XorgBackendError, ServerMemError);
efrom!(XorgBackendError, WheelError);
struct XcbCon {
xcb: Box<Xcb>,