pull/25/head
E. Almqvist 3 years ago
parent 3c11f9a54d
commit 2250f6ab11
  1. 8
      src/dwm.c

@ -230,6 +230,7 @@ static void setfocus(Client *c);
static void setfullscreen(Client *c, int fullscreen); static void setfullscreen(Client *c, int fullscreen);
static void setgaps(const Arg *arg); static void setgaps(const Arg *arg);
static void togglegaps(const Arg *arg); static void togglegaps(const Arg *arg);
static void switchgaps(const unsigned int i);
static void setlayout(const Arg *arg); static void setlayout(const Arg *arg);
static void setlayoutsafe(const Arg *arg); static void setlayoutsafe(const Arg *arg);
static void setmfact(const Arg *arg); static void setmfact(const Arg *arg);
@ -696,6 +697,7 @@ createmon(void)
m->showbar = showbar; m->showbar = showbar;
m->topbar = topbar; m->topbar = topbar;
m->gappx = gappx; m->gappx = gappx;
m->gapidx = 0;
m->lt[0] = &layouts[0]; m->lt[0] = &layouts[0];
m->lt[1] = &layouts[1 % LENGTH(layouts)]; m->lt[1] = &layouts[1 % LENGTH(layouts)];
strncpy(m->ltsymbol, layouts[0].symbol, sizeof m->ltsymbol); strncpy(m->ltsymbol, layouts[0].symbol, sizeof m->ltsymbol);
@ -1848,6 +1850,12 @@ togglegaps(const Arg *arg)
arrange(selmon); arrange(selmon);
} }
void
switchgaps(const unsigned int i)
{
}
void void
setlayout(const Arg *arg) setlayout(const Arg *arg)
{ {

Loading…
Cancel
Save