summaryrefslogtreecommitdiffhomepage
path: root/patch/cfacts.c
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2019-09-30 23:52:51 +0200
committerbakkeby <[email protected]>2019-09-30 23:52:51 +0200
commit009819e186a33d395e785b6429e9f770ef06078c (patch)
tree4fd7c555c40b805a3cd9cb6c9f64f4adfb235fa8 /patch/cfacts.c
parent44d2db84ae16eeda3aa9c73c09ae20a665272592 (diff)
downloaddwm-flexipatch-009819e186a33d395e785b6429e9f770ef06078c.tar.gz
dwm-flexipatch-009819e186a33d395e785b6429e9f770ef06078c.zip
Replaced flextile with flextile-deluxe, refactored monitor rules to support predetermined layouts per tag
Diffstat (limited to 'patch/cfacts.c')
-rw-r--r--patch/cfacts.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/patch/cfacts.c b/patch/cfacts.c
index b06098a..705e914 100644
--- a/patch/cfacts.c
+++ b/patch/cfacts.c
@@ -17,6 +17,7 @@ setcfact(const Arg *arg)
arrange(selmon);
}
+#if BSTACK_LAYOUT || BSTACKHORIZ_LAYOUT || CENTEREDMASTER_LAYOUT || CENTEREDFLOATINGMASTER_LAYOUT || DECK_LAYOUT || TILE_LAYOUT || MONOCLE_LAYOUT
void
getfacts(Monitor *m, float *mf, float *sf)
{
@@ -30,6 +31,7 @@ getfacts(Monitor *m, float *mf, float *sf)
else
sfacts += c->cfact;
}
- *mf = mfacts; // total factor of master area
- *sf = sfacts; // total factor of slave area
-} \ No newline at end of file
+ *mf = mfacts; // total factor of master area
+ *sf = sfacts; // total factor of slave area
+}
+#endif \ No newline at end of file