summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-08-22 09:26:30 +0200
committerbakkeby <[email protected]>2020-08-22 09:26:30 +0200
commiteb782ae920ffa0cfef8234a6749e7dd47df579c6 (patch)
treed0defd420c0a0c51c57bcb5866761fb031819e02
parent91b667198157fc98fc0459369d9161c9365ee48f (diff)
downloaddwm-flexipatch-eb782ae920ffa0cfef8234a6749e7dd47df579c6.tar.gz
dwm-flexipatch-eb782ae920ffa0cfef8234a6749e7dd47df579c6.zip
Added zoomfloating patch. Changed zoom and togglefloating functions to use c rather than selmon->sel.
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
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