summaryrefslogtreecommitdiffhomepage
path: root/patch/vanitygaps.c
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2019-10-06 23:43:51 +0200
committerbakkeby <[email protected]>2019-10-06 23:43:51 +0200
commit132ceee07309efc81476a55a1ff80ebb9b594291 (patch)
tree10f1e03020046458cb17f3fe67b2f78e27983e22 /patch/vanitygaps.c
parentac4269a4f28f29bad9a319993ad814830248f89a (diff)
downloaddwm-flexipatch-132ceee07309efc81476a55a1ff80ebb9b594291.tar.gz
dwm-flexipatch-132ceee07309efc81476a55a1ff80ebb9b594291.zip
Added statusallmons patch, fixed minor cross-compatibility issues for killunsel, fullscreen, noborder, tagintostack patches
Diffstat (limited to 'patch/vanitygaps.c')
-rw-r--r--patch/vanitygaps.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/patch/vanitygaps.c b/patch/vanitygaps.c
index b46944d..9b50c15 100644
--- a/patch/vanitygaps.c
+++ b/patch/vanitygaps.c
@@ -106,6 +106,7 @@ incrivgaps(const Arg *arg)
);
}
+#if CENTEREDFLOATINGMASTER_LAYOUT || DECK_LAYOUT || FIBONACCI_DWINDLE_LAYOUT || FIBONACCI_SPIRAL_LAYOUT || GAPPLESSGRID_LAYOUT || HORIZGRID_LAYOUT || BSTACK_LAYOUT || BSTACKHORIZ_LAYOUT || GRIDMODE_LAYOUT || FLEXTILE_DELUXE_LAYOUT
static void
getgaps(Monitor *m, int *oh, int *ov, int *ih, int *iv, unsigned int *nc)
{
@@ -122,4 +123,5 @@ getgaps(Monitor *m, int *oh, int *ov, int *ih, int *iv, unsigned int *nc)
*ih = m->gappih*ie; // inner horizontal gap
*iv = m->gappiv*ie; // inner vertical gap
*nc = n; // number of clients
-} \ No newline at end of file
+}
+#endif // CENTEREDFLOATINGMASTER_LAYOUT || DECK_LAYOUT || FIBONACCI_DWINDLE_LAYOUT || FIBONACCI_SPIRAL_LAYOUT || GAPPLESSGRID_LAYOUT || HORIZGRID_LAYOUT || BSTACK_LAYOUT || BSTACKHORIZ_LAYOUT || GRIDMODE_LAYOUT || FLEXTILE_DELUXE_LAYOUT \ No newline at end of file