mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
20 lines
354 B
C
20 lines
354 B
C
void
|
|
setinset(Monitor *m, Inset inset)
|
|
{
|
|
Bar *bar;
|
|
m->inset = inset;
|
|
updatebarpos(m);
|
|
for (bar = m->bar; bar; bar = bar->next)
|
|
XMoveResizeWindow(dpy, bar->win, bar->bx, bar->by, bar->bw, bar->bh);
|
|
arrange(m);
|
|
}
|
|
|
|
void
|
|
updateinset(const Arg *arg)
|
|
{
|
|
Inset *inset = (Inset *)arg->v;
|
|
for (Monitor *m = mons; m; m = m->next)
|
|
setinset(m, *inset);
|
|
}
|
|
|