x11-rs icon indicating copy to clipboard operation
x11-rs copied to clipboard

Rust bindings for X11 libraries

Results 31 x11-rs issues
Sort by recently updated
recently updated
newest added

I am attempting to make a function that get the resolution and refresh rate of the monitor(only figured out resolution so far) and I can only compile it atm by...

type: bug
status: help wanted
priority: normal

Hey, I’d be interested in using this library, but I need the `no_std` support. Do you have anything for this? Would you accept a patch for it (if it’s easy)?...

type: enhancement
status: needs review
status: needs testing
priority: high

I need the XComposite extension, can you add it, please? **EDIT**: Looks like the thing that I need is SHM-MIT, or a general manner to import extensions or maybe the...

type: enhancement
status: in progress
priority: normal

The `Debug` implementation for `XEvent` assumes that `.type_` is set right, but it is public and can be set to any value in safe code. https://github.com/erlepereira/x11-rs/blob/c4dcb13ae894c761722769088829d5cd7db3fb71/src/xlib.rs#L1042-L1049 This allows, for example,...

type: bug
status: in progress
priority: normal

https://doc.servo.org/x11/xrandr/struct.XRRScreenResources.html crtcs, outputs, and modes are supposed to be multiple, it's only one with this lib, XRRScreenResources is just one example, there's others.

I have a few issues with the way these crates are structured. (1) `x11` and `x11-dl` both expose their own copies of all native types and constants. This is currently...

When `gl_generator`'s `StructGenerator` attempts to load a missing function, it doesn't fail like `x11-dl` currently does. Instead, it replaces the function with a panic wrapper with the same signature. This...

I ran into this when trying to run my own build of `alacritty`. I verified that my `/usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0` does not export `XRRChangeProviderProperty`. ``` thread 'main' panicked at 'Failed to initialize...

I ran valgrind on some code I had written and found that some memory isn't deallocated on close. This probably doesn't matter unless you keep closing/opening the X lib a...

When running on MacOS, I get this error: ``` = note: ld: library not found for -lX11 clang: error: linker command failed with exit code 1 (use -v to see...

status: help wanted