summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortsxv478 <atvx717@infraredcombat.xyz>2022-07-16 08:32:28 +0300
committertsxv478 <atvx717@infraredcombat.xyz>2022-07-16 08:32:28 +0300
commita68836816420a9f40d3d78dda42744406723de48 (patch)
treeeafc82712f986afdb391415912e714c985c2aea1
parentf474e6b8dea94b4e1a0ff8bd2e839e7f891afe5b (diff)
remove setgaps function
-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