From eca757eeea71184311dd442c945f6ed7875a782f Mon Sep 17 00:00:00 2001 From: bakkeby Date: Sun, 14 May 2023 22:28:15 +0200 Subject: [PATCH 1/2] pertag + vanitygaps: store signed ints rather than unsigned in case negative gap values are used --- patch/pertag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patch/pertag.c b/patch/pertag.c index 292076e..8a4f4d2 100644 --- a/patch/pertag.c +++ b/patch/pertag.c @@ -21,7 +21,7 @@ struct Pertag { #endif // ZOOMSWAP_PATCH #if PERTAG_VANITYGAPS_PATCH && VANITYGAPS_PATCH int enablegaps[NUMTAGS + 1]; - unsigned int gaps[NUMTAGS + 1]; + int gaps[NUMTAGS + 1]; #endif // PERTAG_VANITYGAPS_PATCH | VANITYGAPS_PATCH }; From 6ef80c09ffcb3588b024702ab4c660ea67159ce1 Mon Sep 17 00:00:00 2001 From: bakkeby Date: Sat, 20 May 2023 16:21:55 +0200 Subject: [PATCH 2/2] switchtag + pertag conflict: the view would not actually change ref. #355 --- dwm.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dwm.c b/dwm.c index f95d86d..03ceb92 100644 --- a/dwm.c +++ b/dwm.c @@ -965,12 +965,7 @@ applyrules(Client *c) if (r->switchtag == 3 || r->switchtag == 4) c->switchtag = c->mon->tagset[c->mon->seltags]; if (r->switchtag == 1 || r->switchtag == 3) { - #if PERTAG_PATCH - pertagview(&((Arg) { .ui = newtagset })); - arrange(c->mon); - #else view(&((Arg) { .ui = newtagset })); - #endif // PERTAG_PATCH } else { #if TAGSYNC_PATCH for (m = mons; m; m = m->next)