diff options
author | Suleyman Farajli <suleyman@farajli.net> | 2024-08-17 10:58:40 +0400 |
---|---|---|
committer | Suleyman Farajli <suleyman@farajli.net> | 2024-08-17 10:58:40 +0400 |
commit | d84cbce0449da46a36c60bfccae5021930d3e1c3 (patch) | |
tree | 358915819bc43371f9cdd4d9ebf9a8ac3d693690 | |
parent | 1a6a2eded54ae8c84a62aae4bc81be091bf3ac83 (diff) |
monocle layout was removed
-rw-r--r-- | dwm.c | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -181,7 +181,6 @@ static void killclient(const Arg *arg); static void manage(Window w, XWindowAttributes *wa); static void mappingnotify(XEvent *e); static void maprequest(XEvent *e); -static void monocle(Monitor *m); static void motionnotify(XEvent *e); static void movemouse(const Arg *arg); static Client *nexttiled(Client *c); @@ -1111,21 +1110,6 @@ maprequest(XEvent *e) } void -monocle(Monitor *m) -{ - unsigned int n = 0; - Client *c; - - for (c = m->clients; c; c = c->next) - if (ISVISIBLE(c)) - n++; - if (n > 0) /* override layout symbol */ - snprintf(m->ltsymbol, sizeof m->ltsymbol, "[%d]", n); - for (c = nexttiled(m->clients); c; c = nexttiled(c->next)) - resize(c, m->wx, m->wy, m->ww - 2 * c->bw, m->wh - 2 * c->bw, 0); -} - -void motionnotify(XEvent *e) { static Monitor *mon = NULL; |