XELB (X protocol Emacs Lisp Binding) is a pure Elisp implementation of X11 protocol based on the XML description files from XCB project. It features an object-oriented API and permits a certain degree of concurrency. It should enable you to implement some low-level X11 applications. Please refer to xelb.el for more details.
Most (although not all) bindings in this library are auto-generated from xcb-proto. To regenerate them:
- Install your distro's
xcb-proto
package (apt install xcb-proto
,pacman -S xcb-proto
, etc.). - Run
make
.
Alternatively:
- Download the latest
xcb-proto
release. - Extract it.
- Run
make PROTO_PATH=/path/to/xcb-proto/src