--- diff --git a/dwm.c b/dwm.c index c98678d..6fe6eb8 100644 --- a/dwm.c +++ b/dwm.c _AT_@ -1423,15 +1423,6 @@ sendmon(Client *c, Monitor *m) arrange(NULL); } -void -setclientstate(Client *c, long state) -{ - long data[] = { state, None }; - - XChangeProperty(dpy, c->win, wmatom[WMState], wmatom[WMState], 32, - PropModeReplace, (unsigned char *)data, 2); -} - int sendevent(Client *c, Atom proto) { _AT_@ -1458,6 +1449,15 @@ sendevent(Client *c, Atom proto) } void +setclientstate(Client *c, long state) +{ + long data[] = { state, None }; + + XChangeProperty(dpy, c->win, wmatom[WMState], wmatom[WMState], 32, + PropModeReplace, (unsigned char *)data, 2); +} + +void setfocus(Client *c) { if (!c->neverfocus) { _AT_@ -1799,6 +1799,19 @@ unmapnotify(XEvent *e) } void +updatebarpos(Monitor *m) +{ + m->wy = m->my; + m->wh = m->mh; + if (m->showbar) { + m->wh -= bh; + m->by = m->topbar ? m->wy : m->wy + m->wh; + m->wy = m->topbar ? m->wy + bh : m->wy; + } else + m->by = -bh; +} + +void updatebars(void) { Monitor *m; _AT_@ -1821,19 +1834,6 @@ updatebars(void) } void -updatebarpos(Monitor *m) -{ - m->wy = m->my; - m->wh = m->mh; - if (m->showbar) { - m->wh -= bh; - m->by = m->topbar ? m->wy : m->wy + m->wh; - m->wy = m->topbar ? m->wy + bh : m->wy; - } else - m->by = -bh; -} - -void updateclientlist() { Client *c;Received on Thu May 03 2018 - 00:03:48 CEST
This archive was generated by hypermail 2.3.0 : Thu May 03 2018 - 00:12:30 CEST