|
|
@ -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) |
|
|
|
{ |
|
|
|
{ |
|
|
|