diff options
-rw-r--r-- | vanitygaps.c | 13 |
1 files changed, 0 insertions, 13 deletions
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++); |