Revome more unused funcs

This commit is contained in:
BitHeaven 2024-06-07 20:12:21 +05:00
parent abe52747fe
commit 3f74312239
1 changed files with 0 additions and 16 deletions

16
dwm.c
View File

@ -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;