dwm.c.rej 772 B

12345678910111213141516171819202122
  1. --- dwm.c
  2. +++ dwm.c
  3. @@ -255,6 +269,7 @@ static char stext[256];
  4. static int screen;
  5. static int sw, sh; /* X display screen geometry width, height */
  6. static int bh, blw = 0; /* bar geometry */
  7. +static int enablegaps = 1; /* enables gaps, used by togglegaps */
  8. static int lrpad; /* sum of left and right padding for text */
  9. static int (*xerrorxlib)(Display *, XErrorEvent *);
  10. static unsigned int numlockmask = 0;
  11. @@ -653,6 +668,10 @@ createmon(void)
  12. m->nmaster = nmaster;
  13. m->showbar = showbar;
  14. m->topbar = topbar;
  15. + m->gappih = gappih;
  16. + m->gappiv = gappiv;
  17. + m->gappoh = gappoh;
  18. + m->gappov = gappov;
  19. m->lt[0] = &layouts[0];
  20. m->lt[1] = &layouts[1 % LENGTH(layouts)];
  21. strncpy(m->ltsymbol, layouts[0].symbol, sizeof m->ltsymbol);