summaryrefslogtreecommitdiff
path: root/dwm/drw.h
diff options
context:
space:
mode:
Diffstat (limited to 'dwm/drw.h')
-rw-r--r--dwm/drw.h37
1 files changed, 19 insertions, 18 deletions
diff --git a/dwm/drw.h b/dwm/drw.h
index af763f9..9fb46e7 100644
--- a/dwm/drw.h
+++ b/dwm/drw.h
@@ -1,32 +1,33 @@
/* See LICENSE file for copyright and license details. */
typedef struct {
- Cursor cursor;
+ Cursor cursor;
} Cur;
typedef struct Fnt {
- Display *dpy;
- unsigned int h;
- XftFont *xfont;
- FcPattern *pattern;
- struct Fnt *next;
+ Display *dpy;
+ unsigned int h;
+ XftFont *xfont;
+ FcPattern *pattern;
+ struct Fnt *next;
} Fnt;
-enum { ColFg, ColBg, ColBorder }; /* Clr scheme index */
+enum { ColFg, ColBg, ColBorder, ColMark }; /* Clr scheme index */
+
typedef XftColor Clr;
typedef struct {
- unsigned int w, h;
- Display *dpy;
- int screen;
- Window root;
- Visual *visual;
- unsigned int depth;
- Colormap cmap;
- Drawable drawable;
- GC gc;
- Clr *scheme;
- Fnt *fonts;
+ unsigned int w, h;
+ Display *dpy;
+ int screen;
+ Window root;
+ Visual *visual;
+ unsigned int depth;
+ Colormap cmap;
+ Drawable drawable;
+ GC gc;
+ Clr *scheme;
+ Fnt *fonts;
} Drw;
/* Drawable abstraction */