Correction when only using col layout + cfacts

This commit is contained in:
bakkeby 2019-10-09 09:29:52 +02:00
parent 3c9eba037e
commit 703e9da110
2 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ setcfact(const Arg *arg)
arrange(selmon); 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 void
getfacts(Monitor *m, float *mf, float *sf) 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 *mf = mfacts; // total factor of master area
*sf = sfacts; // total factor of slave area *sf = sfacts; // total factor of slave area
} }
#endif #endif

View File

@ -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); static void getfacts(Monitor *m, float *mf, float *sf);
#endif #endif
static void setcfact(const Arg *arg); static void setcfact(const Arg *arg);