summaryrefslogtreecommitdiff
path: root/vanitygaps.c
diff options
context:
space:
mode:
Diffstat (limited to 'vanitygaps.c')
-rw-r--r--vanitygaps.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/vanitygaps.c b/vanitygaps.c
index 2e5a446..ff068df 100644
--- a/vanitygaps.c
+++ b/vanitygaps.c
@@ -12,7 +12,6 @@ static void tile(Monitor *m);
/* Internals */
static void getgaps(Monitor *m, int *oh, int *ov, int *ih, int *iv, unsigned int *nc);
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
@@ -20,21 +19,6 @@ static int enablegaps = 1;
#endif // PERTAG_PATCH
void
-setgaps(int oh, int ov, int ih, int iv)
-{
- if (oh < 0) oh = 0;
- if (ov < 0) ov = 0;
- if (ih < 0) ih = 0;
- if (iv < 0) iv = 0;
-
- selmon->gappoh = oh;
- selmon->gappov = ov;
- selmon->gappih = ih;
- selmon->gappiv = iv;
- arrange(selmon);
-}
-
-void
togglegaps(const Arg *arg)
{
#if PERTAG_PATCH