~ruther/dwl

ref: 549335ae5458834f91a59ee14f385d17b2d4f888 dwl/client.h -rw-r--r-- 4.0 KiB
06ca8600 — Devin J. Pohly 4 years ago
factor xwayland hackiness out into client.h
388c5580 — Devin J. Pohly 5 years ago
consolidate some of the ugliness into a separate file

Similar to Linux kernel approach, encapsulate some of the uglier
conditional compilation into inline functions in header files.

The goal is to make dwl.c more attractive to people who embrace the
suckless philosophy - simple, short, hackable, and easy to understand.
We want dwm users to feel comfortable here, not scare them off.  Plus,
if we do this right, the main dwl.c code should require only minimal
changes once XWayland is no longer a necessary evil.

According to `cloc`, this also brings dwl.c down below 2000 lines of
non-blank, non-comment code.