From def14f9db47db98ab30040358eff5c10e5f0e843 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Wed, 31 Jan 2024 19:32:16 -0500 Subject: Remove PERTAG compile condition flags (not needed) --- vanitygaps.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'vanitygaps.c') diff --git a/vanitygaps.c b/vanitygaps.c index 6daaf22..da140c8 100644 --- a/vanitygaps.c +++ b/vanitygaps.c @@ -18,11 +18,6 @@ static void getgaps(Monitor *m, int *oh, int *ov, int *ih, int *iv, unsigned int static void getfacts(Monitor *m, int msize, int ssize, float *mf, float *sf, int *mr, int *sr); static void setgaps(int oh, int ov, int ih, int iv); -/* Settings */ -#if !PERTAG_PATCH -static int enablegaps = 1; -#endif // PERTAG_PATCH - void setgaps(int oh, int ov, int ih, int iv) { @@ -41,11 +36,7 @@ setgaps(int oh, int ov, int ih, int iv) void togglegaps(const Arg *arg) { - #if PERTAG_PATCH - selmon->pertag->enablegaps[selmon->pertag->curtag] = !selmon->pertag->enablegaps[selmon->pertag->curtag]; - #else enablegaps = !enablegaps; - #endif // PERTAG_PATCH arrange(NULL); } @@ -136,11 +127,7 @@ void getgaps(Monitor *m, int *oh, int *ov, int *ih, int *iv, unsigned int *nc) { unsigned int n, oe, ie; - #if PERTAG_PATCH - oe = ie = selmon->pertag->enablegaps[selmon->pertag->curtag]; - #else oe = ie = enablegaps; - #endif // PERTAG_PATCH Client *c; for (n = 0, c = nexttiled(m->clients); c; c = nexttiled(c->next), n++); -- cgit v1.2.3