Used transmute where it wasn't necessary
Ubuntu doesn't come with xinput support enabled on xcb
Remove dependency on xinput
Merge branch 'ubuntu' of https://github.com/acmiyaguchi/rust-xcb into ubuntu
Added constructors to make things a bit more generic