diff options
| author | ProsperousPotato <ProsperousPotato@users.noreply.github.com> | 2025-12-14 21:23:48 +0000 |
|---|---|---|
| committer | ProsperousPotato <ProsperousPotato@users.noreply.github.com> | 2025-12-14 21:23:48 +0000 |
| commit | bfa12589c768f9c3002364a4409a0379ffb2d578 (patch) | |
| tree | 19a15c7d32a60c06aebd0efecbda7822acdc33ce | |
| parent | 91a8a5e19006d6b6a2dbf86552072a9fba333a0a (diff) | |
remove barwin references
| -rw-r--r-- | dwm.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -121,7 +121,6 @@ struct Monitor { float mfact; int nmaster; int num; - // int by; /* bar geometry */ int mx, my, mw, mh; /* screen size */ int wx, wy, ww, wh; /* window area */ unsigned int seltags; @@ -131,7 +130,6 @@ struct Monitor { Client *sel; Client *stack; Monitor *next; - // Window barwin; const Layout *lt[2]; }; @@ -555,8 +553,6 @@ cleanupmon(Monitor *mon) for (m = mons; m && m->next != mon; m = m->next); m->next = mon->next; } - // XUnmapWindow(dpy, mon->barwin); - // XDestroyWindow(dpy, mon->barwin); free(mon); } @@ -614,7 +610,6 @@ configurenotify(XEvent *e) for (c = m->clients; c; c = c->next) if (c->isfullscreen) resizeclient(c, m->mx, m->my, m->mw, m->mh); - // XMoveResizeWindow(dpy, m->barwin, m->wx, m->by, m->ww, bh); } focus(NULL); arrange(NULL); @@ -1439,7 +1434,6 @@ restack(Monitor *m) XRaiseWindow(dpy, m->sel->win); if (m->lt[m->sellt]->arrange) { wc.stack_mode = Below; - // wc.sibling = m->barwin; for (c = m->stack; c; c = c->snext) if (!c->isfloating && ISVISIBLE(c)) { XConfigureWindow(dpy, c->win, CWSibling|CWStackMode, &wc); @@ -2284,8 +2278,6 @@ wintomon(Window w) if (w == root && getrootptr(&x, &y)) return recttomon(x, y, 1, 1); for (m = mons; m; m = m->next) - // if (w == m->barwin) - // return m; if ((c = wintoclient(w))) return c->mon; return selmon; |
