How xfce-mirror/xfwm4 works
Project type and purpose
• This is xfwm4: the C-language window manager for the Xfce desktop. It runs as a single (or multi-threaded) process that communicates with an X server, handles window events, composes window frames, and launches helper dialogs for settings.
File structure
• Top-level directories:
• src/ → core C modules (event loop, compositor, window management, input handling, theming, etc.)
• settings-dialogs/ → GUI processes (built with GTK and Glade) for runtime configuration
• helper-dialog/ → small helper utility
• common/ → shared code across modules
• defaults/ → built-in default config files
• po/ → localization files
• Build and config: autogen.sh, configure.ac, meson.build, Makefile.am, meson_options.txt
README
• Confirms purpose: “xfwm is the window manager for Xfce.”
• Installation: typical GNU autotools/Meson workflow.
Detail is key
• Break “xfwm4 Core” into sub-components to reflect individual src/*.c modules.
• Config directories and theme assets as their own nodes.
• Localization as a separate resource loaded at runtime.