Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
352 B

  1. void
  2. setinset(Monitor *m, Inset inset)
  3. {
  4. Bar *bar;
  5. m->inset = inset;
  6. updatebarpos(m);
  7. for (bar = m->bar; bar; bar = bar->next)
  8. XMoveResizeWindow(dpy, bar->win, bar->bx, bar->by, bar->bw, bar->bh);
  9. arrange(m);
  10. }
  11. void
  12. updateinset(const Arg *arg)
  13. {
  14. Inset *inset = (Inset *)arg->v;
  15. for (Monitor *m = mons; m; m = m->next)
  16. setinset(m, *inset);
  17. }