From 4c90d1d9e4092f9ee0106d316829144653a276ea Mon Sep 17 00:00:00 2001 From: Filip Wandzio Date: Tue, 30 Dec 2025 02:45:11 +0100 Subject: Split monolithic dwm.h into modular headers and group them by it's functionalities The new plan of refactoring this project is to split entire monolithic codebase into separate, (kind of) independent modules. This will help with understanding the code by turning off modules and deciding which ones require some work. Signed-off-by: Filip Wandzio --- src/drw/drw.c | 2 +- src/drw/drw.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/drw') diff --git a/src/drw/drw.c b/src/drw/drw.c index 05420c0..5e90c2c 100644 --- a/src/drw/drw.c +++ b/src/drw/drw.c @@ -111,7 +111,7 @@ static Fnt *xfont_create(Drw *drw, const char *fontname, FcPattern *fontpattern) /* Using the pattern found at font->xfont->pattern does not * yield the same substitution results as using the pattern * returned by FcNameParse; using the latter results in the - * desired fallback behaviour whereas the former just results in + * desired fallback behavior whereas the former just results in * missing-character rectangles being drawn, at least with some * fonts. */ if (!(xfont = diff --git a/src/drw/drw.h b/src/drw/drw.h index 88308ab..e1c91ae 100644 --- a/src/drw/drw.h +++ b/src/drw/drw.h @@ -1,5 +1,6 @@ /* See LICENSE file for copyright and license details. */ +#include typedef struct { Cursor cursor; } Cur; -- cgit v1.2.3