fix config
This commit is contained in:
parent
e9b07a4d70
commit
35412d6791
1 changed files with 7 additions and 7 deletions
14
dwm.c
14
dwm.c
|
|
@ -140,6 +140,12 @@ typedef struct {
|
|||
void (*arrange)(Monitor *);
|
||||
} Layout;
|
||||
|
||||
typedef struct Systray Systray;
|
||||
struct Systray {
|
||||
Window win;
|
||||
Client *icons;
|
||||
};
|
||||
|
||||
typedef struct Pertag Pertag;
|
||||
struct Monitor {
|
||||
char ltsymbol[16];
|
||||
|
|
@ -179,12 +185,6 @@ typedef struct {
|
|||
int monitor;
|
||||
} Rule;
|
||||
|
||||
typedef struct Systray Systray;
|
||||
struct Systray {
|
||||
Window win;
|
||||
Client *icons;
|
||||
};
|
||||
|
||||
/* function declarations */
|
||||
static void applyrules(Client *c);
|
||||
static int applysizehints(Client *c, int *x, int *y, int *w, int *h, int interact);
|
||||
|
|
@ -1006,7 +1006,7 @@ drawstatusbar(Monitor *m, int bh, char* stext, int stw) {
|
|||
|
||||
text[i] = '\0';
|
||||
w = TEXTW(text, statusfontindex) - lrpad;
|
||||
drw_text(drw, x, borderpx, w + borderpx, bh, 0, text, 0, statusfontindex);
|
||||
drw_text(drw, x - 2 * sp - stw, borderpx, w + borderpx + stw, bh, 0, text, 0, statusfontindex);
|
||||
|
||||
x += w;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue