X11 DWM Rust port to be an example for x11rb. Initial issue psychon/x11rb#182.
Pretty much work in progress and is not actively being developed. Feel free to send pull requests.
https://www.x.org/releases/X11R7.7/doc/libxcb/tutorial/index.html https://github.com/psychon/x11rb/blob/master/examples/simple_window_manager.rs#L320-L324 https://github.com/julian-goldsmith/dwm-xcb/blob/master/dwm.c#L100 https://github.com/i3/i3/blob/next/src/main.c#L642 https://gitlab.freedesktop.org/xorg/lib/libx11/-/blob/master/src/SelInput.c
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.