Added zoomfloating patch. Changed zoom and togglefloating functions to use c rather than selmon->sel.

This commit is contained in:
bakkeby 2020-08-22 09:26:30 +02:00
parent 91b6671981
commit eb782ae920

2
dwm.c
View File

@ -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