diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-06-24 00:25:25 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-06-24 00:25:25 +0100 |
commit | 082875899a2d411838a5cf98e30bf3f7b9378021 (patch) | |
tree | e30aba9ac57eb450e2d104ba1958350616c22bca /dwm.c | |
parent | 67a1f67487d4bc0e992892c754657be44ad1cd6b (diff) | |
download | dwm-082875899a2d411838a5cf98e30bf3f7b9378021.tar.gz dwm-082875899a2d411838a5cf98e30bf3f7b9378021.tar.bz2 dwm-082875899a2d411838a5cf98e30bf3f7b9378021.zip |
Remove attachaside
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 25 |
1 files changed, 0 insertions, 25 deletions
@@ -151,7 +151,6 @@ static int applysizehints(Client *c, int *x, int *y, int *w, int *h, int interac static void arrange(Monitor *m); static void arrangemon(Monitor *m); static void attach(Client *c); -static void attachaside(Client *c); static void attachstack(Client *c); static void buttonpress(XEvent *e); static void checkotherwm(void); @@ -192,7 +191,6 @@ static void maprequest(XEvent *e); static void monocle(Monitor *m); static void motionnotify(XEvent *e); static void movemouse(const Arg *arg); -static Client *nexttagged(Client *c); static Client *nexttiled(Client *c); static void pop(Client *c); static void propertynotify(XEvent *e); @@ -439,17 +437,6 @@ attach(Client *c) } void -attachaside(Client *c) { - Client *at = nexttagged(c); - if(!at) { - attach(c); - return; - } - c->next = at->next; - at->next = c; -} - -void attachstack(Client *c) { c->snext = c->mon->stack; @@ -1206,7 +1193,6 @@ manage(Window w, XWindowAttributes *wa) c->isfloating = c->oldstate = trans != None || c->isfixed; if (c->isfloating) XRaiseWindow(dpy, c->win); - /* attachaside(c); */ attach(c); attachstack(c); XChangeProperty(dpy, root, netatom[NetClientList], XA_WINDOW, 32, PropModeAppend, @@ -1340,16 +1326,6 @@ movemouse(const Arg *arg) } Client * -nexttagged(Client *c) { - Client *walked = c->mon->clients; - for(; - walked && (walked->isfloating || !ISVISIBLEONTAG(walked, c->tags)); - walked = walked->next - ); - return walked; -} - -Client * nexttiled(Client *c) { for (; c && (c->isfloating || !ISVISIBLE(c)); c = c->next); @@ -1574,7 +1550,6 @@ sendmon(Client *c, Monitor *m) detachstack(c); c->mon = m; c->tags = m->tagset[m->seltags]; /* assign tags of target monitor */ - /* attachaside(c); */ attach(c); attachstack(c); focus(NULL); |