/tinywm-ada

Port of tinywm to Ada for chuckles

Primary LanguageC

TinyWM in Ada

This project is an evening experiment to port Nick Welch’s tinywm from C to Ada. Like the original, it uses Xlib as its underlying library.

Also like the original, this code can be considered public domain.

Most of the time spent was creating the proper bindings to Xlib in Ada, which was no fun.

A useless screenshot

Building

  1. Get a GNAT toolchain

  2. git submodule update --init

  3. make

  4. Run Xephyr: Xephyr :1

  5. Execute the tinywm: DISPLAY=:1 ./obj/debug/tinywm

  6. Run something in that window manager: DISPLAY=:1 xeyes