Fix layouts
This commit is contained in:
parent
42f8873ead
commit
f15701a71e
|
@ -50,11 +50,14 @@ tile(Monitor *m)
|
|||
void
|
||||
monocle(Monitor *m)
|
||||
{
|
||||
int oh, ov, ih, iv;
|
||||
Client *c;
|
||||
|
||||
if (monocleclientcount && !monoclecount) {
|
||||
unsigned int n = 0;
|
||||
|
||||
getgaps(m, &oh, &ov, &ih, &iv, &n);
|
||||
|
||||
for (c = m->clients; c; c = c->next)
|
||||
if (ISVISIBLE(c))
|
||||
n++;
|
||||
|
|
|
@ -525,6 +525,9 @@ static void tagmon(const Arg *arg);
|
|||
#if LAYOUT_TILE
|
||||
static void tile(Monitor *m);
|
||||
#endif
|
||||
#if LAYOUT_DECK
|
||||
static void deck(Monitor *m);
|
||||
#endif
|
||||
#if LAYOUT_EMPTY
|
||||
static void empty(Monitor *m);
|
||||
#endif
|
||||
|
|
1
toggle.h
1
toggle.h
|
@ -44,6 +44,7 @@ Not compatible with BSDs so for those, set this to 0. */
|
|||
#define LAYOUT_GRID 1 /* Whether or not to include the grid layout */
|
||||
#define LAYOUT_FIBO 1 /* Whether or not to include the fibonacci layout */
|
||||
#define LAYOUT_DWINDLE 1 /* Whether or not to include the dwindle layout */
|
||||
#define LAYOUT_DECK 1 /* Whether or not to include the deck layout */
|
||||
#define LAYOUT_SPIRAL 1 /* Whether or not to include the spiral layout */
|
||||
#define LAYOUT_BSTACK 1 /* Whether or not to include the bottom stack layout */
|
||||
#define LAYOUT_BSTACKH 1 /* Whether or not to include the horizontal bottom stack layout */
|
||||
|
|
Loading…
Reference in a new issue