x11-rs
x11-rs copied to clipboard
Rust bindings for X11 libraries
x11-rs is currently missing bindings for Xcomposite.
x11-rs is currently missing bindings for Xdamage.
Didn't test this too much, but it looks like the `x11` crate bindings work on my end. Some test code: ```rust use std::ptr::{null}; use std::os::raw::c_int; use x11::xlib::*; use x11::xcomposite::*; fn...
Since #7, the x11-dl crate uses dlopen instead of direct linking. This split of crates is odd and confusing. I think [dlib](https://docs.rs/dlib/) would be a better solution. It allows the...
I'm trying to use shared memory following [this example](https://github.com/ryuanlu/code-recipes/blob/f1dbf224fb016217e5d12cbdf51a1a79a9825b2c/x11grab/x11grab.c). For this to work I need to create an `XshmSegmentInfo` and change the values of its fields. I have found a...
Hey there! Thanks for your awesome work, guys! However, I have an issue building the crate for a linux-musl target while building any of the gfx-rs projects. Here is the...
This resolves #93 by turning the `x11` crate into a `#![no_std]` crate. `x11` now has the `std` feature, enabled by default. At the crate root, I have created the crate-private...
I'm assuming this was commented out to avoid shadowing `std::option::Option::None`. However, aside from the fact that this essentially excludes a symbol from the library bindings that should be included, this...
The README currently specifies this as being released under public domain, which can lead to issues in some countries (including the US, where I am). I'm proposing that we release...