Revome more unused funcs
This commit is contained in:
parent
abe52747fe
commit
3f74312239
16
dwm.c
16
dwm.c
|
@ -162,7 +162,6 @@ static Monitor *createmon(void);
|
|||
static void destroynotify(XEvent *e);
|
||||
static void detach(Client *c);
|
||||
static void detachstack(Client *c);
|
||||
static Monitor *dirtomon(int dir);
|
||||
static void drawbar(Monitor *m);
|
||||
static void drawbars(void);
|
||||
static int drawstatusbar(Monitor *m, int bh, int extra, char* text);
|
||||
|
@ -684,21 +683,6 @@ detachstack(Client *c)
|
|||
}
|
||||
}
|
||||
|
||||
Monitor *
|
||||
dirtomon(int dir)
|
||||
{
|
||||
Monitor *m = NULL;
|
||||
|
||||
if (dir > 0) {
|
||||
if (!(m = selmon->next))
|
||||
m = mons;
|
||||
} else if (selmon == mons)
|
||||
for (m = mons; m->next; m = m->next);
|
||||
else
|
||||
for (m = mons; m->next != selmon; m = m->next);
|
||||
return m;
|
||||
}
|
||||
|
||||
int
|
||||
drawstatusbar(Monitor *m, int bh, int extra, char* stext) {
|
||||
int ret, i, w, x, len;
|
||||
|
|
Loading…
Reference in New Issue