File: README.md

package info (click to toggle)
xelb 0.20-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,132 kB
  • sloc: lisp: 20,393; makefile: 24
file content (24 lines) | stat: -rw-r--r-- 966 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# X protocol Emacs Lisp Binding

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](https://github.com/emacs-exwm/xelb/blob/master/xelb.el)
for more details.

## Regenerating XCB Bindings

Most (although not all) bindings in this library are auto-generated from [xcb-proto][]. To regenerate them:

1. Install your distro's `xcb-proto` package (`apt install xcb-proto`, `pacman -S xcb-proto`, etc.).
2. Run `make`.

Alternatively:

1. Download the latest `xcb-proto` [release][xcb-proto-releases].
2. Extract it.
3. Run `make PROTO_PATH=/path/to/xcb-proto/src`

[xcb-proto]: https://gitlab.freedesktop.org/xorg/proto/xcbproto
[xcb-proto-releases]: (https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/tags)