aboutsummaryrefslogtreecommitdiffstats
path: root/src/drw
diff options
context:
space:
mode:
authorFilip Wandzio <contact@philw.dev>2025-12-30 02:45:11 +0100
committerFilip Wandzio <contact@philw.dev>2025-12-30 02:45:11 +0100
commit4c90d1d9e4092f9ee0106d316829144653a276ea (patch)
treecba5e7697a1334da068c5fa5e5951e00696fb903 /src/drw
parent11b1ff4691ff3e0f8346e7431fa3f90cc846fc5d (diff)
downloaddwm-4c90d1d9e4092f9ee0106d316829144653a276ea.tar.gz
dwm-4c90d1d9e4092f9ee0106d316829144653a276ea.zip
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 <contact@philw.dev>
Diffstat (limited to '')
-rw-r--r--src/drw/drw.c2
-rw-r--r--src/drw/drw.h1
2 files changed, 2 insertions, 1 deletions
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)
111 /* Using the pattern found at font->xfont->pattern does not 111 /* Using the pattern found at font->xfont->pattern does not
112 * yield the same substitution results as using the pattern 112 * yield the same substitution results as using the pattern
113 * returned by FcNameParse; using the latter results in the 113 * returned by FcNameParse; using the latter results in the
114 * desired fallback behaviour whereas the former just results in 114 * desired fallback behavior whereas the former just results in
115 * missing-character rectangles being drawn, at least with some 115 * missing-character rectangles being drawn, at least with some
116 * fonts. */ 116 * fonts. */
117 if (!(xfont = 117 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 @@
1/* See LICENSE file for copyright and license details. */ 1/* See LICENSE file for copyright and license details. */
2 2
3#include <X11/Xft/Xft.h>
3typedef struct { 4typedef struct {
4 Cursor cursor; 5 Cursor cursor;
5} Cur; 6} Cur;