From 3e3afde993caf2a907256b53a39457a454dd1829 Mon Sep 17 00:00:00 2001 From: bakkeby Date: Sun, 8 Nov 2020 17:41:15 +0100 Subject: [PATCH] flexwintitle: potential for scheme discrepancy between stack and stack2 --- patch/bar_flexwintitle.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/patch/bar_flexwintitle.c b/patch/bar_flexwintitle.c index 1b60769..384878d 100644 --- a/patch/bar_flexwintitle.c +++ b/patch/bar_flexwintitle.c @@ -267,10 +267,10 @@ flextitlecalculate( clientsnstack2++; } #endif // FLEXTILE_DELUXE_LAYOUT - else if (i % 2) - clientsnstack++; - else + else if ((i - m->nmaster) % 2) clientsnstack2++; + else + clientsnstack++; i++; }