From eb782ae920ffa0cfef8234a6749e7dd47df579c6 Mon Sep 17 00:00:00 2001 From: bakkeby Date: Sat, 22 Aug 2020 09:26:30 +0200 Subject: [PATCH] Added zoomfloating patch. Changed zoom and togglefloating functions to use c rather than selmon->sel. --- dwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwm.c b/dwm.c index 88c16ca..71e38d5 100644 --- a/dwm.c +++ b/dwm.c @@ -4004,7 +4004,7 @@ zoom(const Arg *arg) #endif // ZOOMFLOATING_PATCH #if SWAPFOCUS_PATCH && PERTAG_PATCH - c->mon->pertag->prevclient[selmon->pertag->curtag] = nexttiled(c->mon->clients); + c->mon->pertag->prevclient[c->mon->pertag->curtag] = nexttiled(c->mon->clients); #endif // SWAPFOCUS_PATCH if (!c->mon->lt[c->mon->sellt]->arrange