From 409b7a54ab6272fdee7806b904efd0269073134c Mon Sep 17 00:00:00 2001 From: tsxv478 Date: Sat, 16 Jul 2022 08:32:28 +0300 Subject: remove setgaps function --- vanitygaps.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'vanitygaps.c') diff --git a/vanitygaps.c b/vanitygaps.c index 2e5a446..ff068df 100644 --- a/vanitygaps.c +++ b/vanitygaps.c @@ -12,28 +12,12 @@ 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 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) { -- cgit v1.2.3