Code formatting + st refactoring.

This commit is contained in:
Bartek Stalewski 2022-06-12 11:58:28 +02:00
parent b5878fc205
commit e15f7fb669
28 changed files with 5853 additions and 6321 deletions

View file

@ -1,29 +1,29 @@
/* 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 }; /* Clr scheme index */
typedef XftColor Clr;
typedef struct {
unsigned int w, h;
Display *dpy;
int screen;
Window root;
Drawable drawable;
GC gc;
Clr *scheme;
Fnt *fonts;
unsigned int w, h;
Display *dpy;
int screen;
Window root;
Drawable drawable;
GC gc;
Clr *scheme;
Fnt *fonts;
} Drw;
/* Drawable abstraction */