From 703e9da1108cb3d69314bdd979b8ec9141a28618 Mon Sep 17 00:00:00 2001 From: bakkeby Date: Wed, 9 Oct 2019 09:29:52 +0200 Subject: [PATCH] Correction when only using col layout + cfacts --- patch/cfacts.c | 4 ++-- patch/cfacts.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/patch/cfacts.c b/patch/cfacts.c index 705e914..591bb5f 100644 --- a/patch/cfacts.c +++ b/patch/cfacts.c @@ -17,7 +17,7 @@ setcfact(const Arg *arg) arrange(selmon); } -#if BSTACK_LAYOUT || BSTACKHORIZ_LAYOUT || CENTEREDMASTER_LAYOUT || CENTEREDFLOATINGMASTER_LAYOUT || DECK_LAYOUT || TILE_LAYOUT || MONOCLE_LAYOUT +#if BSTACK_LAYOUT || BSTACKHORIZ_LAYOUT || CENTEREDMASTER_LAYOUT || CENTEREDFLOATINGMASTER_LAYOUT || COLUMNS_LAYOUT || DECK_LAYOUT || TILE_LAYOUT || MONOCLE_LAYOUT void getfacts(Monitor *m, float *mf, float *sf) { @@ -34,4 +34,4 @@ getfacts(Monitor *m, float *mf, float *sf) *mf = mfacts; // total factor of master area *sf = sfacts; // total factor of slave area } -#endif \ No newline at end of file +#endif diff --git a/patch/cfacts.h b/patch/cfacts.h index bd32213..2df3b04 100644 --- a/patch/cfacts.h +++ b/patch/cfacts.h @@ -1,4 +1,4 @@ -#if BSTACK_LAYOUT || BSTACKHORIZ_LAYOUT || CENTEREDMASTER_LAYOUT || CENTEREDFLOATINGMASTER_LAYOUT || DECK_LAYOUT || TILE_LAYOUT || MONOCLE_LAYOUT +#if BSTACK_LAYOUT || BSTACKHORIZ_LAYOUT || CENTEREDMASTER_LAYOUT || CENTEREDFLOATINGMASTER_LAYOUT || COLUMNS_LAYOUT || DECK_LAYOUT || TILE_LAYOUT || MONOCLE_LAYOUT static void getfacts(Monitor *m, float *mf, float *sf); #endif -static void setcfact(const Arg *arg); \ No newline at end of file +static void setcfact(const Arg *arg);