The stages of me learning XCB, both in C++ and Rust. There are a couple of side lessons (CMake and vendoring) that are as aside to the whole story, but they're at least important to preserve.
Go to file
Elf M. Sternberg 59a0c6acbf Initial commit: XRandR connects to the server via XCB.
I really need to start two cheatsheets for this: one for CMake,
and one for XCB.
2022-02-17 07:01:34 -08:00
src Initial commit: XRandR connects to the server via XCB. 2022-02-17 07:01:34 -08:00
.gitignore Initial commit: XRandR connects to the server via XCB. 2022-02-17 07:01:34 -08:00
CMakeLists.txt Initial commit: XRandR connects to the server via XCB. 2022-02-17 07:01:34 -08:00
LICENSE Initial commit: XRandR connects to the server via XCB. 2022-02-17 07:01:34 -08:00
Makefile Initial commit: XRandR connects to the server via XCB. 2022-02-17 07:01:34 -08:00
README.md Initial commit: XRandR connects to the server via XCB. 2022-02-17 07:01:34 -08:00

README.md

WHAT:

This is an attempt to write a simple iteration of XRandR using XCB and C++.

WHY:

I'm not familiar enough with this ecosystem to be useful in it, and I need to start getting some familiarity with it before I start hacking a Rust project that needs XCB/XRandR capability.

REQURIEMENTS:

This code has been tested with gcc-7.3, and should work on any C++17-compliant compiler with the relevant standard library, and obviously X Windows.

STATUS:

In progress.

DETAILS:

BUILDING:

From the base directory of the project:

mkdir build
cd build
cmake ..
make