aboutsummaryrefslogtreecommitdiffstats
path: root/src/drw/drw.h
diff options
context:
space:
mode:
authorFilip Wandzio <contact@philw.dev>2025-09-08 19:09:10 +0200
committerFilip Wandzio <contact@philw.dev>2025-09-08 19:09:10 +0200
commitf33c70176cd078c6e1c189b9c2a61089422129c9 (patch)
treeeaf3d27a81566d5118b0736ba32f5189963e4d1c /src/drw/drw.h
parentbd019ee25b380d32ccf900f5afa0dab9f9d541b8 (diff)
downloaddwm-f33c70176cd078c6e1c189b9c2a61089422129c9.tar.gz
dwm-f33c70176cd078c6e1c189b9c2a61089422129c9.zip
Enforce code style, reformat project
Signed-off-by: Filip Wandzio <contact@philw.dev>
Diffstat (limited to 'src/drw/drw.h')
-rw-r--r--src/drw/drw.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/drw/drw.h b/src/drw/drw.h
index e645d43..88308ab 100644
--- a/src/drw/drw.h
+++ b/src/drw/drw.h
@@ -1,29 +1,29 @@
1/* See LICENSE file for copyright and license details. */ 1/* See LICENSE file for copyright and license details. */
2 2
3typedef struct { 3typedef struct {
4 Cursor cursor; 4 Cursor cursor;
5} Cur; 5} Cur;
6 6
7typedef struct Fnt { 7typedef struct Fnt {
8 Display *dpy; 8 Display *dpy;
9 unsigned int h; 9 unsigned int h;
10 XftFont *xfont; 10 XftFont *xfont;
11 FcPattern *pattern; 11 FcPattern *pattern;
12 struct Fnt *next; 12 struct Fnt *next;
13} Fnt; 13} Fnt;
14 14
15enum { ColFg, ColBg, ColBorder }; /* Clr scheme index */ 15enum { ColFg, ColBg, ColBorder }; /* Clr scheme index */
16typedef XftColor Clr; 16typedef XftColor Clr;
17 17
18typedef struct { 18typedef struct {
19 unsigned int w, h; 19 unsigned int w, h;
20 Display *dpy; 20 Display *dpy;
21 int screen; 21 int screen;
22 Window root; 22 Window root;
23 Drawable drawable; 23 Drawable drawable;
24 GC gc; 24 GC gc;
25 Clr *scheme; 25 Clr *scheme;
26 Fnt *fonts; 26 Fnt *fonts;
27} Drw; 27} Drw;
28 28
29/* Drawable abstraction */ 29/* Drawable abstraction */