zoomswap: renamed prevtiled back to findbefore as per original patch

pull/48/head
bakkeby 4 years ago
parent ed7a43edf1
commit 12527f00d9

@ -3886,7 +3886,7 @@ zoom(const Arg *arg)
#else
p = prevzoom;
#endif // PERTAG_PATCH
at = prevtiled(p);
at = findbefore(p);
if (at)
cprevious = nexttiled(at->next);
if (!cprevious || cprevious != p) {
@ -3911,7 +3911,7 @@ zoom(const Arg *arg)
cold = nexttiled(selmon->clients);
if (c != cold && !at)
at = prevtiled(c);
at = findbefore(c);
detach(c);
attach(c);
/* swap windows instead of pushing the previous one down */

@ -4,7 +4,7 @@ static Client *prevzoom = NULL;
#endif // PERTAG_PATCH
Client *
prevtiled(Client *c) {
findbefore(Client *c) {
Client *p;
if (!c || c == c->mon->clients)
return NULL;

@ -1 +1 @@
static Client *prevtiled(Client *c);
static Client *findbefore(Client *c);
Loading…
Cancel
Save