How cdown/dwm works
Project type and purpose
• This is a customized build of dwm (a dynamic window manager for X11) written in C. It sits between X server and all other X clients to manage window layout, input events, and rendering.
• The README calls out patches, build scripts, and the sync mechanism to stay up-to-date with the upstream dwm repository.
File structure
• Top-level build files:
• Makefile, config.mk, config.def.h, config.h
• sync (script to pull upstream changes)
• Source modules:
• dwm.c – core event loop, window management
• drw.c / drw.h – drawing abstraction (Xft/Xlib wrapper)
• util.c / util.h– helper routines (string parsing, error handling)
• transient.c – patch for transient windows
• patches are applied in-source, so code in dwm.c/util.c reflects extensions
• Man page: dwm.1
• License file and README
README for additional insights
• Describes which patches are added or merged upstream.